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

Reg Park

Registered Member
Joined
Mar 22, 2017
Messages
64
Reaction score
3
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
 
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: http://www.yoursite.com/old-url
Your new URL is: http://www.yoursite.com/new-url

Hope you get my point here! Cheers!
 
  • 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.
 
woo! Thanks for all the help guys, sorted it out. much love!
 
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.
redirection-plugin.png

  • 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. ...
 
Check 301 Redirect in your hosting
 
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

Simple method is you can use REDIRECTION plugin to do this work easily.
 
Back
Top