Jump to content

Links broken in localhost


Bruna BSPCU

Recommended Posts

I installed in localhost a store(prestashop 1.5) that was online and working normally. The homepage is working, and admin panel too, but the all the links are broken, they go to:

 

http://loja/index.php?id_product=15&controller=product

 

instead of:

 

http://localhost/loja/index.php?id_product=15&controller=product

 

I configured SEO & URLS like that:

 

 

store domain: /

SSL domain:

Base URI: /loja/

 

if i change to

 

 

store domain: /

SSL domain:

Base URI: localhost/loja/

 

the store broke everything, but the links work.

 

What can i do to fix that?

 

thanks a lot!

Link to comment
Share on other sites

I have set up localhost as :

Domain: localhost

Physical-uri: /ps/ (it depends on where you have your presta, mine is in htdocs/ps/ folder, where htdocs is my main for localhost)

and i access shop by visiting http://localhost/ps/

Also most important thing - remove .htaccess and SAVE any shop url in admin panel. It should regenerate .htaccess to it proper form.

  • Like 1
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...