Step by step create a 301 redirect
- Create a file in notepad and save as. Htaccess
- Open the. Htaccess file in a code editor and insert the following line in the file:
- Insert a blank line under this rule (sometimes happens that one. Htaccess file will not work).
- Save. Htaccess file and place it in the root of your website
It does not matter now which URL visitors to your website. Above 301 means they will always redirect the domain with www before entering.
Even if a webmasters link to your site on their own website, it does not matter for soft version they choose.
The meta-tag refresh redirection has been so often (mis) used by spammers that search engines do this directly punish. Use these redirects never
301 redirects in Google webmaster help
If you 301 redirect in the. Htaccess file can not or choose not, you can use your Google account using the “preferred domain” Google Webmaster Help. You can easily add your site and indicate your preferred domain.
This article is borrowed from http://www.creartions.com with permission. Thanks