Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

htaccess Question

8:10 pm on Mar 1, 2009 (gmt 0)

Junior Member

5+ Year Member

joined:Sept 10, 2008
posts: 79
votes: 0

Hi, I'm fairly new to SP so please bear with me. I have a site which had a very high 1st page ranking on Google that slipped to the 7th page recently. I was told by someone that It may be caused by my site being recoginzed as 4 site due to the fact my site was coming up as mydomain,com , www, mydomain,com, www,mydomain,com/index,html and mydomain,com/index,html.

I recently inserted a 301 redirect to correct the main domain issue it looks like this and works

RewriteEngine on
rewritecond %{http_host} ^mydomain,com [nc]
rewriterule ^(.*)$ [www(dot...] )mydomain,com/$1 [r=301,nc]

Question 1
Does this help me and if so what can I add to the HTACCESS do reference the index.html entries

Question 2
In Google Webmaster tools does it help to point my site to www,mydomain,com (which is where all my backlink building has been done)

Thanks in advance

12:11 am on Mar 2, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
votes: 0

The index redirect goes first. See these posts for many examples.


I never set the WMT preference. I always use the redirect as that signals the same for all users and all SE.


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members