301 redirecting your web sites main page

So all of a sudden you realise Google is indexing your site as two different websites. The www.mysite.com version and the mysite.com version. This is something you definatley need to change and here we are going to show you how.
In order to fix this problem you need to do what is called a 301 redirect from your mysite.com to www.mysite.com or visa versa depending on which version is ranking better. By making this change you will be merging the two together so Google see’s your site as one page. BE ADVISED IF YOU ARE UNCOFORTABLE WITH MAKING THIS CHANGE PLEASE HAVE SOMEONE ELSE DO IT FOR YOU.

If you have access to your .htaccess file you will need to add the following code to it. ( of course changing mysite to your own website) DO NOT CHANGE ANYTHING ELSE.

# mod_rewrite in use

Options +FollowSymlinks

RewriteEngine On

RewriteCond %{http_host} ^mysite.com [NC]

RewriteRule ^(.*)$ http://www.mysite.com.com/$1 [R=301,L]

 

By changing the above code you are now telling Google to only index one version of your site with a 301 redirect.

 

  • Share/Bookmark
Blog Traffic Exchange Related Posts
  • Internet Marketing - Why 2010 Will Be A White Knuckle Ride For Web Marketers. Internet Marketing - Why 2010 Will Be A White Knuckle Ride For Web Marketers  Copyright © 2009 Titus Hoskins Next year may just prove to be one of the most challenging times for pursuing online or Internet marketing on the web. It may just be a watershed moment for many......
  • How to Use Proper SEO for Website Indexing How to Use Proper SEO for Website Indexing   Making a website with a beautiful design but without proper SEO is like having a stack of brochures in a drawer. It is fortunately not that hard, even for beginners, to apply a set of SEO rules in order to see......
  • WRITING FOR PUBLICITY AND PROFIT ON THE WWW "It's easy being a writer... the hardest part is figuring how to make a living, whilst one does so." "I got sick and tired of waiting for writing success... so just carried on without it." - anon "It took me twelve long......
  • Google Launches Commerce Search - What is it?     First of all I want to say that my feeling on this is this is yet another way google will have control of what we do online. Of course these are my own thoughts and I could be wrong. Either way I am going to provide information on......
  • How do I know if my site has a Google penalty This question has been asked time and time again and it isn't always an easy answer. Some common signs that you may have a Google penalty are the following.     1. Your site has been deindexed by Google 2. You have seen a big drop in Google traffic. 3.......
Blog Traffic Exchange Related Websites

Leave a Reply

You must be logged in to post a comment.