homepage Welcome to WebmasterWorld Guest from 54.226.147.84
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
htaccess Question
brnm98105

5+ Year Member



 
Msg#: 3860554 posted 8:10 pm on Mar 1, 2009 (gmt 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

 

g1smd

WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3860554 posted 12:11 am on Mar 2, 2009 (gmt 0)

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

[google.com...]

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved