ScanSpeak Posted August 16, 2018 Share Posted August 16, 2018 I am having problems moving/copying a Prestashop 1.7.4.2 from one domain to another (ex. "www.olddomain.com" to "www.newdomain.com"). I am quite familiar with all the basics, like FTP and database export/import. I clear the cache before export, so /cache/smarty/cache/ and /cache/smarty/compile/ are cleared. The new database informations are entered into /app/config/parameters.php before upload. In the SQL file I change 'PS_SHOP_DOMAIN' and 'PS_SHOP_DOMAIN_SSL' to the new domain. There are no other references to the old domain in the SQL file. I feel that everything is done by the book. But when I go to www.newdomain.com it jumps right on to www.olddomain.com And when I go to www.newdomain.com/admin it jumps right on to www.olddomain.com/admin What is the trick? Link to comment Share on other sites More sharing options...
El Patron Posted September 15, 2018 Share Posted September 15, 2018 (edited) I copy a 'lot' of PS's, after a copy from one domain/sub to another clear all files/folders: \app\cache\dev (with dev mode) or \app\cache\prod folder that solved....copy on Edited September 16, 2018 by El Patron (see edit history) 1 Link to comment Share on other sites More sharing options...
ScanSpeak Posted October 4, 2018 Author Share Posted October 4, 2018 Thank you very much for taking time to post your answer. I cleared the \var\cache\prod folder and got a huge step further. Now I can see the shop and log on to administration. And I can see that there has been new cache files created in the \prod folder. But now the product pictures are missing on the shop front page and product page? Link to comment Share on other sites More sharing options...
ScanSpeak Posted October 5, 2018 Author Share Posted October 5, 2018 Found the problem. In .htaccess the old domain was listet. So when I clear the \var\cache\prod folder and correct the .htaccess then all is good. 1000 Thanks El Patron for the help. 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