Redirecting to new, non-wp domain

  • Author
  • #110880

    Hi. I want to move my blog off and onto my own web hosting. I can handle the back up and restore. Is it possible to get my current url to 301 redirect to my new web address?




    You can do it with the domain mapping upgrade and a couple days worth of time to allow the domain name to spread through the net but the URLs do not redirect. It’s too easy for spammers to abuse the name if it was allowed.


    it’s a touch tricky.
    * buy the domain first (from your host).
    * buy domain mapping from
    * set your name servers to NS1.WORDPRESS.COM and NS2.WORDPRESS.COM

    * let it sit for about a week. gives the international DNS servers time to propogate, and time for your readers to see the new address with the familiar blue bar and general look and feel.

    * install and configure your wordpress blog with your new host (you’ll have to do this with your host’s IP address, since your nameservers are still pointing at
    * export your blog, and import it at the new blog.

    * change your name servers to point to your host (according to their instructions)

    these instructions come with no warranty expressed or implied. YMMV
    i am happy to try to answer questions, though.



    Worked for me. :)


    but the URLs do not redirect

    i dont think that’s true. the link to my blog here (custom header in CSS) should redirect to the page on – does that not work for other people?



    Yes, it does.



    i dont think that’s true.

    I mean you can’t have on a server. And you can’t do a redirect with just a name. You can though with the domain mapping.


    thanks for the responses. i bought a pair of domains tonight, and your directions make perfect sense, sunburn.

    i’m actually going to be pulling a double bong, here. the dot com’s nameservers are pointing to wordpress, and the .net’s nameservers are pointing to my webhost.

    while i deploy your instructions onto the .com, i’m going to 301 redirect the .net to the .com. this blog is relatively new, but its picked up some links here and there so i want to start improving it by taking complete control of the template.



    That should work.

    In case anyone is interested, the 301 is preferred over a 302 by Google in terms of SEO. Matt Cutts talks about it here.


    ok looks like things are starting to work out now. is where my blog is now “located”, but is still hosting it.

    on the .net, i created an index.php file that contains this code…

    header(“HTTP/1.1 301 Moved Permanently”);

    that makes all requests for behave just like requests for the .com, and as drmike said, its seo friendly. this method avoids *some* duplicate content issues. i still need to 301 all requests for the non-www versions of these domains to the www version.

    we call that canocalization. here’s more reading..

    i’ll post again once i set up the blog on my hosting.

    thanks again



    It’s strange as I did the 301 when I moved from to but yet I still see links going to Same number as going to the new site and it’s been over a month since the move.


    see links where? some web pages still link to the old url or link: command for old url?


    Querying []…

    [begin response]

    HTTP/1.0 302 Found
    Content-type: text/html; charset=utf-8
    Content-Length: 0
    Date: Thu, 07 Jun 2007 03:07:29 GMT
    Server: LiteSpeed
    Connection: close

    [end response]

The topic ‘Redirecting to new, non-wp domain’ is closed to new replies.