Jump to content

How to add current category name to product meta tags?


Recommended Posts

im using PS and thinking about this challenge for prevent meta tags duplication and better search description.
Can i extract category name from URL ? (canoncial is enabled) or exist another solution?

Example URL:
stavitelstvi-a-architektura is category name

Edited by Belinda999 (see edit history)
Link to comment
Share on other sites

Can you explain a little more what you exactly need?

- One time 'copying' to fill existing meta tags,

- automatic filling with a copy of the category name on product creation? (What if the product has multiple categories...)

- What happens if meta tag already has contents? Should it be added, and if so where? Front/Back?


Can you give a clear example how you expect the process to work?



Link to comment
Share on other sites

A have same product in two, three categories, thus same product but different URLs, for each category. So, i thinking, that corresponding meta-description is better. 




My lack of knowledge, I did not realize that PrestaShop redirects to default category. Please delete this topic.

Edited by Belinda999 (see edit history)
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...