301 Redirects

A 301 redirect is an efficient and Search Engine friendly method for webpage redirection. It is relatively simple to implement and it should preserve search engine rankings for that particular page should you need to rename or move it. The code “301” is interpreted as “moved permanently”.

There are multiple ways depending on your server and scripting platform, however I will deal with ones most relevant to Boolean clients.

PHP page level redirects:

<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.new-url.com" );
?>

.htaccess domain level redirects (Apache Mod-Rewrite moduled must be enabled)

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.new-url.com/$1 [R=301,L]

You can test your redirection with the Search Engine Friendly Redirect Checker available here.

Leave a Reply

Your email address will not be published. Required fields are marked *