Jakub Čech Jakub Čech - 1 year ago 97
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

Answer Source
  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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download