Moving a concrete 5 website

Permalink
Hi everyone,

I am trying to move a site to another host and thought I would try it locally using wamp first. i have downloaded it, restored my database and edited my config.php file and everything is ok BUT, when I try to navagate the site locally the rest of the links on the site are not working and i cannot log into the back end of the site either. Can anyone help? Tne site i have downloaded and trying to work on locally, http:/www.ardswebdesign.co.uk

Regards

Richard

ardswebdesign
 
mesuva replied on at Permalink Reply
mesuva
When you move a site you sometimes have to also edit the .htaccess file. In that, check the line
RewriteBase /
is correct for where you've put the site.

The / by itself is correct when you have a site at the root of a domain, but if you're accessing a site via folders (i.e. http://localhost/project/site/,... you would need to edit this to something like:
RewriteBase /project/site/
ardswebdesign replied on at Permalink Reply
ardswebdesign
My rewrite base seems to be correct and I am accessing the site on root and not through folders. The home page ishttp://localhost and for example the about us page would behttp://localhost/about-us.

Can seem to get this to work


:(

Richard
hostco replied on at Permalink Reply
hostco
Since pretty urls are enabled you are more then likely getting a 404 for the login or dashboard page?

To log in your site now you need to add "index.php" in the url.

http://localhost/index.php/dashboard...

or

http://localhost/index.php/login...

As a work-a-round on local, you can get past this by simply disabling pretty urls.

Once logged in disable pretty urls and you will be able to navigate around the site as normal.
ardswebdesign replied on at Permalink Reply
ardswebdesign
worked great thanks :)
ardswebdesign replied on at Permalink Reply
ardswebdesign
Thanks for you help :)
hostco replied on at Permalink Reply
hostco
No problem, glad to help out.