Jakub Čech Jakub Čech - 5 months ago 32
PHP Question

Prestashop redirects itself to web root

I got copy of working e-shop built on prestashop. When I run it on localhost (localhost/tretry/web/cs/), it show me file from another web (localhost/index.php). Adress stays the same (localhost/tretry/web/cs/).
What settings/file could possibly do that? How to redirect it back?

I changed shop url in database according to settings from clean prestashop instalation

  1. Delete the .htaccess file (there's no need to regenerate it).
  2. Change your URL setup to match this:

enter image description here

Hope this helps.