WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is just a theoretical question for now.

Given a website that has items of content that are tagged into categories, for example "Coding" "Writing" "Gaming", it is possible to configure the site in some way that the categories are only available dependant on the incoming URL from which they are viewed?

For example, if everything is available on www.mysite.net, the coding posts are available at coding.mysite.net (with the other categories still available for view), and the coding posts available without any sign of the other categories on a seperate domain www.mycodingsite.com and using a different theme from the main site?

In this way I could "split out" a section of my site by category, and have it appear as a standalone website?

share|improve this question
maybe this can do the trick for you, ? wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/ – Sufiyan Ghori Feb 9 '12 at 14:45


Use the "Subdomains" plugin and you can do exactly what are you looking for :)


Cheers Hasin

share|improve this answer

Yes, i think you can work with 3 different ways.

  1. use multisite and each blog in the network is an subdomain and his categories. Its great for maintenance and an default and also great for capabilities, no problems.

  2. Use an custom pluign on filter pre_get_posts() and list in dependence on the url the categories for this url, only this. Filter the categories from other domain. Possible, but you must develop.

  3. Use an plugin for different domain in a default install, single install, not multisite; maybe 123 Multihost (only german description, use g-translate) I think is a fast way, but not fine for maintenance in feature; to dependence to the plugin.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.