Jump to content

Default product path for friendly URLs?


Recommended Posts

Is there a 'default' path for products?.

this: 

{category:/}{id}{id_product_attribute}-{rewrite}{-:ean13}.html

isn't worling for me. 

The site has a product category if click on one of the categories it sends you to a page where products of that category are shown, 

if you click on a product, it sends you to a 404 page

Example:

https://www.badeco.cl/index.php?controller=404#/26-color-negro

(shows 404)

without friendly-ulr:

https://www.badeco.cl/index.php?id_product=32&id_product_attribute=287&rewrite=barra-1-mt-19-mm&controller=product#/26-color-negro

(shows product)

Edited by alebnight
add example (see edit history)
Link to comment
Share on other sites

Which PrestaShop version are you using?

I believe the problem lies in cache, you need to deactivate all cache and clear it.

Go to Advanced Parameters/Performance, set Cache to "NO".
Set Template compilation to "Never recompile template files".
Set Use cache (bottom of the page) to "NO".

 

Then try to Clear cache (upper right hand corner button).
Try to force clearing browser cache via Ctrl+F5.

 

If the problem still occurs, caching isn't the problem and you need to check URL configuration.

Tell us how it went.

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