Transfer Wordpress blog from Sub domain to top level domain?

Discussion in 'WordPress' started by adfave, Feb 25, 2010.

  1. #1
    I have wordpress blog at sub domian sub.abc.com. I want to trasnfer it to xyz.com. Both domains are on same hosting account. What changes i need to do to complete the process?
     
    adfave, Feb 25, 2010 IP
  2. MTbiker

    MTbiker Well-Known Member

    Messages:
    2,536
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    170
    #2
    MTbiker, Feb 26, 2010 IP
  3. unknownpray

    unknownpray Active Member

    Messages:
    3,831
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    70
    #3
    export the posts in wordpress under tools (from existing wordpress) install a new wordpress to main domain, then import posts to the new wordpress delete old wp installation and put in a 301 redirect in your .htaccess files
     
    unknownpray, Mar 16, 2010 IP
  4. psharma

    psharma Prominent Member

    Messages:
    1,955
    Likes Received:
    85
    Best Answers:
    4
    Trophy Points:
    345
    #4
    It requires an .HTACCESS rewrite and some changes in configurations. Search in Google you will find awesome tutorials for that. I have done it part, but do not remember the link to the tutorial.
     
    psharma, Mar 16, 2010 IP
  5. etc

    etc Well-Known Member

    Messages:
    3,239
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    158
    #5
    its just an export and import process. what's important to it is back it up before doing so.
     
    etc, Mar 16, 2010 IP
  6. psharma

    psharma Prominent Member

    Messages:
    1,955
    Likes Received:
    85
    Best Answers:
    4
    Trophy Points:
    345
    #6
    Its not just export and import, In addition to that you have to make sure that your previous traffic do not see 404 errors and they automatically get redirected to the respective post on the new location. This is the point behind the asker's question.
     
    psharma, Mar 16, 2010 IP
    MTbiker likes this.