How to redirect a web page using 301 redirect
If you already have a website and need to redirect domain names or website pages without affecting your current search engine rank then the best method is by using a 301 redirect.
What is a 301 redirect?
The code 301 is interpreted by search engines as “Moved permanently”, you setup the code 301 inside a .HTaccess file on your server. This method will keep your current search engine rank as appose to just forwarding which will lose the search engine position and traffic.
What is a .HTaccess file?
A .HTaccess file is simply a file named .htaccess which is then uploaded to the home root directory of your web server. The .htaccess file can contain code for lots of different features like URL rewriting, specific requests, security and password permissions. When a search engine spider visits your site it will check the .htaccess file for instructions.
How to setup a 301 redirect on your server from domain1.com to domain2.com:
1) Open notepad and type the following:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule ^(.*)$ http://www.example.com/$1 [R=permanent,L]
2) Save the file as .htaccess (with no extension)
3) Upload the file to your server
4) Check you are not overwriting any previous .htaccess files or code
How to setup a 301 redirect from old page to new page:
1) Open notepad and type the following
redirect 301 /something/yourpage.htm http://www.domain.com/new.htm
2) Save the file as .htaccess (with no extension)
3) Upload the file to your server
4) Check you are not overwriting any previous .htaccess files or code
Note: /something/yourpage.htm is the old folder path and file name. The domain.com/new.htm is the new path and file name. Do not add http://www. to first part.
When the search engines spider your site again they will follow the rule you have created in your .htaccess file. The search engine spider doesn’t actually read the .htaccess file, but recognises the response from the server as valid.





We are very pleased with our new website, designed, and optimised in search engines by Noble Web Design.