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

How do i redirect an old link to a new link?

Discussion in 'White Hat SEO' started by Reg Park, Jun 6, 2017.

  1. Reg Park

    Reg Park Registered Member

    Joined:
    Mar 22, 2017
    Messages:
    50
    Likes Received:
    1
    Gender:
    Male
    Hey guys, I just changed one of my article links to a new one. The old link has some backlinks built to it.

    How do I redirect my old link to the new one?

    I used hostgator and tried doing it on the redirect section but doesnt seem to work
     
  2. godspeed007

    godspeed007 Jr. VIP Jr. VIP

    Joined:
    Jan 10, 2013
    Messages:
    736
    Likes Received:
    273
    Look for the .htaccess file in the root folder of the site in your cPanel. If there is none, just create one and put this code:

    Code:
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^(www\.)?yoursite\.com
    RewriteRule ^old-url/? /new-url [R=301,L]

    Replace 'yoursite' with your domain name and 'com' with your TLD. Also replace 'old-link' with your old permalink and 'new-url' with new permalink.

    In the above example, I considered that -

    Your old URL was: www.yoursite.com/old-url
    Your new URL is: www.yoursite.com/new-url

    Hope you get my point here! Cheers!
     
    • Thanks Thanks x 1
  3. 111ideas

    111ideas Newbie

    Joined:
    Jun 6, 2017
    Messages:
    22
    Likes Received:
    0
    Gender:
    Male
    • Install the 301 redirect plugin from wordpress.
    • It has an option to input your old url and new url.
    • After 301 redirection, Google will give you the benefits of the backlinks of the old url.
     
  4. Reg Park

    Reg Park Registered Member

    Joined:
    Mar 22, 2017
    Messages:
    50
    Likes Received:
    1
    Gender:
    Male
    woo! Thanks for all the help guys, sorted it out. much love!
     
  5. Vladamir

    Vladamir Power Member

    Joined:
    Jan 4, 2012
    Messages:
    532
    Likes Received:
    310
    Gender:
    Male
    Occupation:
    Restore Old Boats
    Location:
    Zihuatanejo, Ixtapa, Mexico
    Theres a boatload of plugins out there if you use wordpress. I use redirection personally very easy to use put in your source url then your target url.
    [​IMG]
    • Redirection. Redirection Plugin for WordPress is one of the most widely-used. ...
    • Quick Page/Post Redirect Plugin. Quick Page/Post Redirect Plugin breaks up redirection into two options. ...
    • Safe Redirect Manager. ...
    • Simple 301 Redirects. ...
    • Yoast SEO Premium. ...
    • SEO Redirection Plugin. ...
    • Redirect. ...
     
  6. SEO FOX

    SEO FOX Jr. VIP Jr. VIP

    Joined:
    Apr 27, 2015
    Messages:
    3,412
    Likes Received:
    704
    Gender:
    Male
    Location:
    Infront Of U!!
    Home Page:
    Check 301 Redirect in your hosting
     
  7. jackteam

    jackteam Jr. VIP Jr. VIP

    Joined:
    Jun 9, 2015
    Messages:
    914
    Likes Received:
    164
    Gender:
    Male
    Occupation:
    Low Competition Keywords at 3$ only.
    Home Page:
    Simple method is you can use REDIRECTION plugin to do this work easily.
     
    • Thanks Thanks x 1