Search code examples
subdomainadmindevelopment-environmentprestashop-1.6

Prestashop subdomain development server


I'm new to prestashop and I am trying to set up a development version of a prestashop site I have inherited but am having a few issues. In our site https://www.rawlinspaints.com, I have set up the subdomain of dev.rawlinspaints.com and created a copy of the db and linked the dev site to the new db and copied all the files across to the dev site.

The dev site loads, but doesn't render any images and the css and js are not loading. I also cannot access the admin for the site either. How would I remedy these problems?


Solution

  • If you want to clone a Prestashop instance, you need to manually edit the value of PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL in the ps_configuration table to match your current URL.