Support » Developing with WordPress » subcategory to subdomain mapping

  • In a single install wordpress, not wp-ms
    i m trying to do this subcategory to subdomain mapping, the subdomain structure is with country it would look like this:

    in i have category of each country respectively,
    and i would like to know is there a wayto make as below –>–>

Viewing 6 replies - 1 through 6 (of 6 total)
  • You could possible set up a wildcard DNS record for * and then use web server redirects or a WordPress hook to push the visitor onto$1

    thank you tcbarrett for the reply,
    do the subdomain need to have content to display? –>
    b;cos i m trying to display content of and the url rewrite show

    yeah most hosting companies have free subdomains, at least a number of them.

    for example on one site i maintain they have a ‘’ , that really just goes to ‘’ so once you have it so that the subdomain points to the proper directory on the main domain – you can set up a url redirect via plugin/htaccess if necessary.

    thanks digibucc, the had A record pointed to the 2nd server, i m figuring it to show the content at

    Gulf, why not you just import and and export your post based on category to your sub blog with WordPress multisite installation?

    It will save up your time for the redirection and gives better SEO result.

    that is an initial ideal but when comes to few 10s of them it is a nightmare to manage them.
    and i m only needing a few like 3~4 OF them in subdomain the rest of the categories will be remain in subdirectory..

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘subcategory to subdomain mapping’ is closed to new replies.