View Full Version : Changing URL structure

Oct 22nd, 2009, 10:05 PM

I use WordPress platform and I am trying to get URL of a page and content of the page for my needs.

I was not able to find any relevant solution so I try to ask here.

For example I have an URL as http://example.com/?cat=17,20

This URL will show posts in categories with number 17 or 20. I try to display posts in categories 17 AND 20. Please notice I used term AND.

For that issue, the WordPress uses template tag (explanation here (http://codex.wordpress.org/Template_Tags/query_posts) - Category parameters) which can be used as loop. How could I make that URL which I mentioned first to show posts in two and more categories + rewrite that URL as eg http://example.com/?cat=cat1+cat2 or http://example.com/category/cat1+cat2 .

Similar issue is here: http://wordpress.org/support/topic/256852?replies=3

Thanks for all help.