different subdomains for same Multiblogs (3 posts)

  1. tobbe_l
    Posted 5 years ago #


    Hope I can make this understandable. Here i go:

    We run a 2.8 MU-installation where we use one domain like

    Thing is we desided to start use swedish spelling for the word blog so we want the same blogs to also be accessed through:
    Both ways must work, otherwise we´re in trouble whith external links and so on. Is this possible and how?

    I understand that we must start by register the new blogg.nn.nn domain ant point it to our server. But from there in apache and WP...?

    Thanks for any help on this issue!

  2. You don't need to re-register anything, and you SHUOLD be able to do with with subdomain redirects in your .htaccess.

    RewriteCond %{HTTP_HOST} ^blogg.nn.nn/ [OR]
    RewriteCond %{HTTP_HOST} ^www.blogg.nn.nn/
    RewriteRule ^(.*)$ http://blog.nn.nn//$1 [R=301,L]

    That SHOULD redirect blog to blogg so all external links will be fine. And in my experience, obviates the need for any new subdomains.

    You can't have both though, I don't think. I mean, both don't work, even in my setup, the fix just makes it so people are redirected correctly.

  3. tobbe_l
    Posted 5 years ago #

    @ipstenu Thanks for great input! I´ll try it as soon the DNS för blogg.nn.nn is setup OK.

Topic Closed

This topic has been closed to new replies.

About this Topic