Malaysian | any questions about insurance and buying online

Tip to improve Search Engine Ranking

Make Two websites into One

It’s quite clear that search engine spiders do not like content that is duplicated on web sites, but you could be serving them duplicate content unknowingly, and it happens quite frequently. Problems occur when the search engines index your site as Two websites: 1) http://www.YourDomainName.com/ and 2) http://YourDomainName.com/. The difference is in the www. Also, search engine spiders find your site through various different URLs that go to the same page. Some examples of this idea is:

 

yourdomainname.com

www.yourdomainname.com

yourdomainname.com/index.html

www.yourdomainname.com/index.html

The search engines all view these different URLs as a different page in your web site with content that is duplicated. This can cause your website to be penalized with resulting lower search engine rankings until the search engines figure out eventually that these are the same page.

 

You can fix this problem with a htaccess rewrite 301 rule that tells the search engines that they are the same page.

 

In thr htaccess file use the following code:

RewriteEngine On

RewriteCond %{HTTP_HOST} ^yourdomainname.com

RewriteRule (.*) http://www.yourdomainname.com/$1

[R=301,L]

 

Facebook comments:

Leave a comment

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