Jump to content

Parent categories don't take into account in sitemap


Arnaud_R

Recommended Posts

Hello,

I use url rewrite and for categories the road set is : {parent_categories:/}{rewrite}/

When generating the sitemap everything works fine but for categories the url generated doesn't take into account the variable {parent_categories:/}, so it basically shows ".../chairs" instead of ".../furniture/chairs". The url is properly generated for manufacturers or products, so I don't understand why it doesn't work.

I also noticed the same issue in our mega menu, the links set for sub categories corresponds to {rewrite} and not {parent_categories:/}{rewrite}/, so it create redirections all the time.

Do you know where it could come from ? Why this issue only occurs for sub categories ?

Thanks for your help ! :)

Capture d’écran 2020-05-14 à 12.16.07.png

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