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
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
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
Can seem to get this to work
:(
Richard
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.
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.
worked great thanks :)
Thanks for you help :)
No problem, glad to help out.
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/