Solved

CMS Made Simple links not working after Site Migration?!?

Posted on 2010-11-19
9
728 Views
Last Modified: 2013-12-13
looking for some help with a site migration. The URL is www.bptreemarketing.com and since the site migration we have gotten everything back up and running except the internal links for the left hand navigation. I haven't used this CMS before so Im stuck...
0
Comment
Question by:fadercreep
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 7

Expert Comment

by:armchang
ID: 34175617
Hi,

One solution would be to modify you .htaccess file found in the root folder and add this codes inside the file:

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]

Open in new window


How'd it went?
0
 

Author Comment

by:fadercreep
ID: 34176179


No Luck, I have been in that file to get the URL to point into the "httpdocs" folder because my hosting server only allows domains to be set to the root level of a folder unless coding a special handler within the .htaccess file.

I have created you a pass FTP to view the .htaccess file to help. Thanks

Settings

    * FTP Username: expert@forgeinfinity.com
    * Password: 423Lc$$$
    * FTP Server: ftp.forgeinfinity.com
    * FTP Server Port: 21
    * Quota: unlimited MB

0
 
LVL 7

Expert Comment

by:armchang
ID: 34176363
Hi,

Can you try putting the .htaccess file inside the folder where your CMS is?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:fadercreep
ID: 34176483
Well the combination of the two responses worked...Although the code might be muddy this is the configuration that worked for me on BlueHost.com

# Bluehost.com
# .htaccess main domain to subdirectory redirect
# Copy and paste the following code into the .htaccess file
# in the public_html folder of your hosting account
# make the changes to the file according to the instructions.
# Do not change this line.
RewriteEngine on
# Change yourdomain.com to be your main domain.
RewriteCond %{HTTP_HOST} ^(www.)?bptreemarketing.com$
# Change 'subdirectory' to be the directory you will use for your main domain.
RewriteCond %{REQUEST_URI} !^/httpdocs/
# Don't change this line.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Change 'subdirectory' to be the directory you will use for your main domain.
RewriteRule ^(.*)$ /httpdocs/$1
# Change yourdomain.com to be your main domain again.
# Change 'subdirectory' to be the directory you will use for your main domain
# followed by / then the main file for your site, index.php, index.html, etc.
RewriteCond %{HTTP_HOST} ^(www.)?bptreemarketing.com$ [OR]
RewriteRule ^(/)?$ httpdocs/index.php




RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
0
 
LVL 7

Expert Comment

by:armchang
ID: 34176523
I'm glad that it worked.
0
 
LVL 7

Accepted Solution

by:
armchang earned 125 total points
ID: 34176576
I can see that in your line it also have this:


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

So, just merge that one with my one and finally:

RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
0
 

Author Comment

by:fadercreep
ID: 34176679
yes I did notice that repeat... I will fix good eye.
0
 
LVL 7

Expert Comment

by:armchang
ID: 34177020
So can you credit points now?
0
 

Author Closing Comment

by:fadercreep
ID: 34178249
Thanks saved an e-commerce store from re-developing, would have been a 10,00 grand project to re-create
0

Featured Post

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question