I have the following scenario with items within different categories:
- catagory1 has the URL
example.com/category1
- category2 has the URL
example.com/category2
- [...]
- all
example.com/all
to show posts of all categories
Every item get's the following permalink (category name/item slug):
example.com/category1/item-slug
To not lose context when I come from the all
category the permalinks are
example.com/all/item-slug
Is it possible to tell google with a meta tag or something like that that the real URL for this page is example.com/category1/item-slug
, so that it indexes the better URL and not the one with all
. I'm also worried about duplicate content being introduced by this.