Jump to content

Product images don't work in frontend application after domain change


dvdscr

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...