jefferis Posted January 16, 2017 Share Posted January 16, 2017 We have a client with a downloaded PrestaShop. We made a copy of the database and home folder and moved everything over to a newer, faster server. We uploaded the DB. Everything on the front end appears correct, but when we try to log in to the shop to manage it, it does to a different URL and we can't log in. We need to know where the store URL is stored in the DB or is it stored at PrestaShop, and if either, how or where do we make a change to point the admin area to the new host? TIA, Jeff Link to comment Share on other sites More sharing options...
bellini13 Posted January 16, 2017 Share Posted January 16, 2017 it depends on the version of Prestashop, but start with the database table named ps_shop_url. Update the domain and base path as required. Also check the settings.inc.php in the config folder, make sure the database information is correct. Lastly, remove or rename the .htaccess file located in the root of the store folder, as it contains rewrite rules from the old server. Allow prestashop to re-create it 1 Link to comment Share on other sites More sharing options...
jefferis Posted January 16, 2017 Author Share Posted January 16, 2017 (edited) Hi, thanks. The shop url is not changing, so I checked that and it is correct. The settings inc connects to the new db server. Once we remove the htaccess file, how / when does presta rewrite it? Thanks again ALSO... it seems Presta manages his email? The email broke when we moved it over and broke the login... How do we know/tell for certain if his shop runs through his download or is run online at presta? We are taking over for another developer and the client has no clue... We assumed it runs from his own download because of the dbs and the files. TIA, Jeff Edited January 16, 2017 by jefferis (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted January 16, 2017 Share Posted January 16, 2017 you would need to look at the domain and see what name servers it is using. The name servers would have to resolve to the new hosting server. 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