1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

htaccess http->www redirect, has it messed up my rankings?

Discussion in 'Black Hat SEO' started by kimkils, Mar 4, 2010.

  1. kimkils

    kimkils Power Member

    Joined:
    Jan 10, 2009
    Messages:
    663
    Likes Received:
    225
    Ok i have my website and it got indexed http://domain.com - now personally i dont like the look of this in google so i used the following code to redirect all pages to http://www.domain.com...

    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www\.example\.com
    RewriteRule (.*) http://www.example.com/$1 [R=301,L]


    Then after a day i changed the bottom line to:

    RewriteRule (.*) http://www.example.com [R=301,L] [/B]

    minus the /$1 bit because i didn't see the point... it would only ever have http://domain.com pointing to the site not http://www.domain.com

    Then after a day my rankings went to crap and from position ten i've flown off the radar to the position of 100+ :confused:

    I've now changed /$1 so it is included, if i google site:http://www.domain.com or site:http://domain.com they come up with the same pages.

    What are people opinions on this? Is this redirect to blame for this Google craziness or is it because my sites is a few weeks old and i'm throwing a few backlinks around... ? The verdict is out... :eek:
     
  2. nufaman

    nufaman Elite Member

    Joined:
    May 29, 2009
    Messages:
    1,697
    Likes Received:
    1,185
    Yes, since you are now using a domain that never really existed. However you do need to pick one, you shouldn't use www and non www versions because of duplicate content, you would have 2 sites then.
    Pick one and stick to it. And don't worry, you have vanished because Google needs to craw and update their index, but you will get your previous rankings back.
     
  3. jimbo2087

    jimbo2087 Regular Member

    Joined:
    Jan 24, 2010
    Messages:
    205
    Likes Received:
    149
    Location:
    UK
    I wouldnt of thought that this was the ht access causing the change. I have seen a similar thing happen to nearly all of my new sites recently, ive been ranking in the first couple of pages and then after a week or so ive just dropped.

    Who knows whats causing it. I think it could be backlinks, or it could just be a "new site bonus" that Google gives. Ive just started an experiment to see if a big influx of backlinks can do this. Ive heavily backlinked a 4 year old domain that was ranking 250ish for a few keywords with a massive increase in backlinks (had about 5, I blasted with 3000 on SB) most should be no follow as they were wordpress. Im going to do the same but with a smaller selection of do follow only and see what happens.

    Its not exactly scientific but should be a reasonable start to make assumptions on why Google has been ranking my sites fairly highly and then dropping them recently.
     
    • Thanks Thanks x 1
  4. kimkils

    kimkils Power Member

    Joined:
    Jan 10, 2009
    Messages:
    663
    Likes Received:
    225
    But as i said when i Google site:http://www.domain.com OR site:http://domain.com they come up with the same pages indexed so i don't think this is the case...

    @jimbo2087, glad you're having similar problems, seems quite commonplace, i think it may be the backlinks, google "ponders" for a while and stops you getting instant top rankings. Shame because this project is my first lucrative "WH" site and it'll be rewarding when its number one on the big G :)
     
  5. nufaman

    nufaman Elite Member

    Joined:
    May 29, 2009
    Messages:
    1,697
    Likes Received:
    1,185
    Yes, but the non www will soon start to drop in indexed pages. I know because I got in a trademark issue and had to move my site to another domain doing a 301
     
    • Thanks Thanks x 1
  6. kimkils

    kimkils Power Member

    Joined:
    Jan 10, 2009
    Messages:
    663
    Likes Received:
    225
    Ok, i see, so it's probably a combination of both being new and having backlinks thrown at it as well as having this redirect pointing it to a different version it originally had known about. Thanks guys.