One WP install, I need to map a custom domain name to each category

I’ve read other answers but they weren’t satisfactory.

  • Multiple blogs, different domain names, one install to rule them all
  • Multiple Domain Names – One WP Install (non-Multisite) – Default Each Domain name to Category Archive

I did try the second option as it seemed perfect for my needs, however, what happens is that while a category is perfectly mapped to a domain, single articles are not and default to the original domain name.

I need to have each category keep its domain name when posts or sub-categories are clicked.

i.e.:
http://mywebsite.com/gastronomy/

becomes http://mywebsite-gastronomy.com

And:
http://mywebsite.com/2013/10/15/an-article

becomes http://mywebsite-{FIRST_CATEGORY_OF_THE_ARTICLE}.com/an-article

Is this at all possible with URL trickery or plugins?

0

Leave a Comment