mudshark Posted December 12, 2013 Share Posted December 12, 2013 We built the PrestaShop site at a test domain (http://testdomain.com). When satisfied that it is ready for actual use by customers we moved entire site (all files) to new "live domain" (http://livedomain.com). Now when you enter into any browser the correct new URL: http://livedomain.com guess what happens... It runs http://testdomain.com/index.php. Where for heaven's sake is the URL to run from hard-coded??? Thx all RG Link to comment Share on other sites More sharing options...
benjamin utterback Posted December 12, 2013 Share Posted December 12, 2013 In your back office, did you go to preferences > seo & urls tab and define "domain" / "domain ssl" with the correct url? Link to comment Share on other sites More sharing options...
mudshark Posted December 12, 2013 Author Share Posted December 12, 2013 Uh... No. Trying that now. Do you know offhand which files will chg as a result of those edits? If not It'll take a while to (again) MOVE all files to the new 'folder'! Link to comment Share on other sites More sharing options...
NemoPS Posted December 13, 2013 Share Posted December 13, 2013 Have you changed the database PS_BASE_URI setting in the ps_configuration table? Also, did you go to settings.inc.php and change your addresses to the new ones? Link to comment Share on other sites More sharing options...
robhadfield Posted December 13, 2013 Share Posted December 13, 2013 Hey - just to add to this, I have a problem to add. I have updated everything above and my site runs at the correct URL however all the menu links etc are still pointing to the old domain. Is there a way to reset these without doing it in the SQL itself? Cheers Rob Link to comment Share on other sites More sharing options...
NemoPS Posted December 14, 2013 Share Posted December 14, 2013 How did you setup those links? If they are hardcoded, you have to change them from the menu module Link to comment Share on other sites More sharing options...
robhadfield Posted December 14, 2013 Share Posted December 14, 2013 (edited) Ah right OK - that's a pain but thanks for the reply Nemo1. I checked the SQL but there's nothing in the database - where are they stored? EDIT: I've changed them and everything seems pretty good now. Cheers! Edited December 14, 2013 by robhadfield (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now