1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Help] What is the best method to 301 redirect a wordpress blog to a new blog?

Discussion in 'Blogging' started by T2tkid, Dec 20, 2013.

  1. T2tkid

    T2tkid Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 13, 2010
    Messages:
    3,193
    Likes Received:
    1,459
    Hello BHW, am looking for a simple way to 301 redirect a wordpress blog.
    Is there any plugin that can do this?
    what i need is to redirect the old domain posts to new domain. example: www.old-domain.com/post-title.html -> www.new-domain.com/post-title.html

    I have tried several methods and it is not working for me.
    I will appreciate your help.
     
  2. prbkshv

    prbkshv Jr. VIP Jr. VIP Premium Member

    Joined:
    Apr 24, 2013
    Messages:
    149
    Likes Received:
    18
    Occupation:
    Online Marketer and Enterpeneur
    Location:
    India
    There must be a .htaccess file present in your old domain. This file contains instructions for redirection too. You just need to edit it. You need to mention as well as old and new domain to inform the web crawlers about redirection.
     
    • Thanks Thanks x 1
  3. thedorf

    thedorf Senior Member

    Joined:
    Oct 1, 2008
    Messages:
    1,193
    Likes Received:
    700
    Occupation:
    what? I gotta have a job?
    Location:
    BHW - Where else?
    .htaccess in the root directory will do it.

    Code:
    Redirect 301 / http://www.new-site.com/
     
    • Thanks Thanks x 1
  4. T2tkid

    T2tkid Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 13, 2010
    Messages:
    3,193
    Likes Received:
    1,459
    Thanks for your replies.
    I have done that and for some reasons it is not working for me.
     
  5. netmatrix

    netmatrix Regular Member

    Joined:
    Mar 21, 2010
    Messages:
    303
    Likes Received:
    83
    Location:
    Midst of the Matrix... Exploiting Glitches
    What happens when you add the redirect code to your htaccess file, do you receive any error messages?