dvdscr Posted May 7, 2019 Share Posted May 7, 2019 Hi all, I have a problem changing the domain of a site builded with Prestashop 1.7. I installed it with a demo domain, www.site1.com, then I would change it in www.sitedef.com. So, besides Apache configuration, I changed the domain in the table named ps_shop_url. It works, but with the new domain I can't see the products images in the frontend application, when them can be visible in the backoffice application. In other words, the following direct link works: http://www.site1.com/1-large-default/description.jpg when I change the domain, the following don't works (it returns 404): http://www.sitedef.com/1-large-default/description.jpg Have you any idea? Thanks, David Link to comment Share on other sites More sharing options...
dvdscr Posted May 7, 2019 Author Share Posted May 7, 2019 Hi all, finally I undestand where is the problem. The domain must be replaced also in .htaccess file in the root directory of Prestashop. I don't know if a better method to change the domain exists. Bye, David Link to comment Share on other sites More sharing options...
musicmaster Posted May 7, 2019 Share Posted May 7, 2019 You have to regenerate .htaccess by pressing Save in the SEO&urls page in the backoffice 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