wfdeanb Posted December 15, 2020 Share Posted December 15, 2020 Hi I have moved my 1.7 site to new domain I made the domain name change in the database. I deleted the cache added database details to the parameters.php. But am still not able to open site I get: https://localhost/puppyschshoplive/ Do I need to make changes anywhere else? Cheers Dean Link to comment Share on other sites More sharing options...
joseantgv Posted December 15, 2020 Share Posted December 15, 2020 Remove folders inside /var/cache. Link to comment Share on other sites More sharing options...
wfdeanb Posted December 15, 2020 Author Share Posted December 15, 2020 Hi I did that and still get directed to https://localhost/puppyschshoplive/ Dean Link to comment Share on other sites More sharing options...
JBW Posted December 16, 2020 Share Posted December 16, 2020 Delete and re-generate your .htaccess file. Link to comment Share on other sites More sharing options...
wfdeanb Posted December 16, 2020 Author Share Posted December 16, 2020 Hi There is no .htaccess file in the root. I found one in the admin folder and removed that but still no luck. I even tried putting an empty .htaccess file in the root but still nothing. Dean Link to comment Share on other sites More sharing options...
JBW Posted December 16, 2020 Share Posted December 16, 2020 Ok, where in the database did you change the URL? And .htaccess should b re-generated. De-activate friendly URL in SEo&Trafic section, save, activate it agin, save. Link to comment Share on other sites More sharing options...
wfdeanb Posted December 16, 2020 Author Share Posted December 16, 2020 Hi See screen shot re database. I did find the instructions above for regen of .htaccess but I do not have access to the Prestashop admin panel to do this. Dean Link to comment Share on other sites More sharing options...
JBW Posted December 16, 2020 Share Posted December 16, 2020 Thats the wrong DB table - you have to change it in ps_shop_url Link to comment Share on other sites More sharing options...
wfdeanb Posted December 16, 2020 Author Share Posted December 16, 2020 Thanks This one? Please see screen shot. Is it ok the leave the "PS_SHOP_DOMAIN " ? Change to: domain - www.wirefish-test.co.ukdomain_ssl - www.wirefish-test.co.ukphysical_uri - /wirefish-test/ Dean Link to comment Share on other sites More sharing options...
JBW Posted December 16, 2020 Share Posted December 16, 2020 Yes this is the table and settings look fine Link to comment Share on other sites More sharing options...
wfdeanb Posted December 16, 2020 Author Share Posted December 16, 2020 Hi That loaded the site but I can't access admin. https://www.wirefish-test.co.uk Also links to pages and pics not working would that be missing .htaccess file? Dean Link to comment Share on other sites More sharing options...
JBW Posted December 16, 2020 Share Posted December 16, 2020 Yes, you should restore .htaccess in admin folder, this is a standard one and re-generate the .htacess in the main folder which i shop specific Link to comment Share on other sites More sharing options...
wfdeanb Posted December 16, 2020 Author Share Posted December 16, 2020 Hi Ok great I now have access to admin. To regenerate .htaccess and restore my page links and images. Do I delete .htaccess before I do the steps below? 1. Log into your PrestaShop admin panel. 2. Go to Preferences -> SEO and URLs section: 3. Set Friendly URL option to No and click Save button: 4. Enable Friendly URL back and save the changes. 5 . htaccess will be regenerated in your store. Thanks Dean Link to comment Share on other sites More sharing options...
JBW Posted December 16, 2020 Share Posted December 16, 2020 Doesn't matter, it will be regenerated/overwritten anyhow Link to comment Share on other sites More sharing options...
wfdeanb Posted December 16, 2020 Author Share Posted December 16, 2020 Great. But this process is correct? 1. Log into your PrestaShop admin panel. 2. Go to Preferences -> SEO and URLs section: 3. Set Friendly URL option to No and click Save button: 4. Enable Friendly URL back and save the changes. 5 . htaccess will be regenerated in your store. Link to comment Share on other sites More sharing options...
Tom Shell Posted December 16, 2020 Share Posted December 16, 2020 Delete and re-generate your .htaccess file Link to comment Share on other sites More sharing options...
JBW Posted December 16, 2020 Share Posted December 16, 2020 2 hours ago, wfdeanb said: But this process is correct? Yes it is Link to comment Share on other sites More sharing options...
wfdeanb Posted December 16, 2020 Author Share Posted December 16, 2020 Thanks for all the help. A lot of conflicting and outdated information online so it help to have people who know what they are talking about. I have a few bits to tidy up but at first look everything seems good. Cheers Dean 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