Multiple tags URL in WordPress, custom archives page URL

This article was written by in August 3, 2015, & may not be posted on other sites!
Original source url for this article: Multiple tags URL in WordPress, custom archives page URL

URL for multiple tags in WordPress, custom archives page URL.
What is the actual URL for the archives page showing posts by one or multiple categories or tags? Very usefull to create custom menus etc. This is the URL for multiple tags page in WordPress.

URL for multiple tags in WordPress, custom archives page URL

 

URL for multiple tags in WordPress, custom archives page URL

URL for archives page based on one tag
http://website.com/tag/some-tag
or
http://website.com/?tag=some-tag

URL for archives page based on multiple tags
http://website.com/tag/some-tag,second-tag,third-tag
or
http://website.com/?tag=some-tag,second-tag,third-tag
Use a comma separator to display posts having any of the 3 tags, or + plus separator to display posts having all 3 tags. Something like this:
http://website.com/tag/some-tag+second-tag+third-tag
or
http://website.com/?tag=some-tag+second-tag+third-tag

URL for archives page based on one or multiple  categories
Posts from single category
http://website.com/category/some-category
or posts from multiple categories, any posts having one or more of categories:
http://website.com/category/some-category,second-category,third-category
or multiple categories, any posts having all of the categories:
http://website.com/category/some-category+second-category+third-category

 

Spread the word

facebooktwittergoogle_pluslinkedinmail

Leave a Reply

Your email address will not be published. Required fields are marked *