Jump to content

Error with product attribute - Friendly URL

Recommended Posts

Hello guys,


I am really struggling here with a problem with the links of my website. It's not online yet, it's on localhost. 

I have friendly URL's on, and I have this for the product schema:


This is the default one. The problem is whener I open a product without attributes, it doesn't load the page, giving me an error 404.

For example:


This works fine because I've some attributes on the product.

But if I choose one product without attributes, the link appears like this and gives a 404 error:


But, if I add a zero on the attribute it works...

Shouldn't it detect by itself and change?



There is also one issue that started today which is, whenever I change the language, the link appears like this when it shouldn't. On the default language:


When I choose another language:


How do I fix this?


Thank you so much,


Share this post

Link to post
Share on other sites


When the Friendly URL is off, everything works like a charm...


Share this post

Link to post
Share on other sites

I manage to find the problem. The path was incorrect.

{-:id_product_attribute} instead of {-id_product_attribute}.


Sorry to bother you all,


Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More