Links to posts with multiple categories
-
If a post is assigned to multiple categories it can usually be accessed at multiple respective URLs, right? So, a post in both, category 1 and category 2, can be accessed at https://example.com/category-1/post-xyz and https://example.com/category-2/post-xyz. My question now is: is it possible that the permalink to the individual post can be different in different category archives?
For example, I have a category archive of “category 1” that lists all posts from that category and another category archive that lists posts from category 2. If a post appears in both archives (because it’s assigned to both categories) I want the link to the individual post in category archive 1 to be https://example.com/category-1/post-xyz and in category archive 2 to be https://example.com/category-2/post-xyz. How is this possible? By default the permalink will only be one domain, regardless of where the post appears.
- The topic ‘Links to posts with multiple categories’ is closed to new replies.