


This is a quick tutorial on how to place a 301 redirect on a webpage, by using the .htaccess. You will need FTP access to your server and a text editor to edit the .htaccess file.
You may want to put a 301 redirect on one of your pages, if you have moved the content elsewhere - but you wish to keep the page rank that Google has for your page. In order to do this, simply use the following code in your .htaccess file:
redirect 301 /old-link.html http://www.yourwebsite.com/new-link.html
Do not put an absolute URL for the first link, as it has to be relative to your website. In the example above we are simply redirecting from "/old-link.html" and this will now take us to "http://www.yourwebsite.com/new-link.html" to the new content.
Post new comment