How do you do domain redirects?

  • Unknown's avatar

    I generally want to know how your team technically is able to do the domain redirects.

    For instance, I put in my domain name and it redirects to my wordpress blog with the correct url in the browser.

    How is this achieved behind the scenes?
    Is your team using a service that manages the redirect?

  • Unknown's avatar

    I’m virtually certain that wordpress.com does their own redirects, but only staff would be able to respond with certainty.

    In general though redirects are simply one line in either a .htaccess file, or in the case of some registrars/hosts there is a redirect feature in the domain management section. The bottom line though is they all do a line or lines of code that send the browser to the new URL.

    I combined three blogs for a client about a year ago and simply added one line to each of the main domain .htaccess files (the main domains were being kept alive) to redirect all blog URLs to the new domain. Since they were all using wordpress, and the link structures where all the same it was simple. If you have different link structures, then each old link has to be individually redirected to the proper link in the new site/redesigned site.

  • Unknown's avatar

    I think it is a Mapping and not a Redirect – I have a URL with a redirect and it ends up at another-site.com there is another name that also ends up at another-site.com but the URL does not read another-site.com but a-new-name.com (we have 3 URL’s that direct to the same site (another-site.com) – the two other names are easier to remember and we use on Posters to make it easy to remember a name.

    I think there are some semantic issues with what to call it – I think that WordPress.COM uses a Mapping and not a redirect –

    Have I confused even myself yet?

  • Unknown's avatar

    Found this snip on Wikipedia

    “# mod_rewrite or aliases to have the web server serve the same page for two different domain names.[2]”

    http://en.wikipedia.org/wiki/Domain_Masking

  • The topic ‘How do you do domain redirects?’ is closed to new replies.