Solved

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

Posted on 2010-11-19
9
726 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
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 

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

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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 …

756 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