View Single Post
Old 02-08-2006, 07:34 PM  
nico-t
emperor of my world
 
Join Date: Aug 2004
Location: nethalands
Posts: 29,903
Quote:
Originally Posted by Linkster
Might want to check your Apache(assuming youre using a Nix server) to make sure your ServerName in the httpd config is set to default to the www.domain.com version and not the domain.com

Also - if you are using relative links instead of absolute links and you dont have a trailing / on your relative links, this will cause Apache to issue its own internal 301 to go to the domain.com/directory first and then the www.domain.com/directory which unfortunately Google's bot is very good at following.

You can check this pretty easily using something like the free link checker from Xenu as they will report the 301 redirects your server is doing.

As mentioned above - 301s can fix the problem - but ONLY if you have your server set correctly (and there are a bunch of hosts that don't know how to setup a server for SE botting)
So are you saying that a 301 redirect is better to be made from the server then the htaccess?

and these are the checks i did with xenu:


with the 301 redirect still in the htaccess:
1) non-www, result is 2 urls:
the non-www, with the message that it 301 redirects to the 2nd url:
the www. (thats what happens due to the htaccess file)

2) www, result is countless urls.
no 301 redirection messages.


Deleted the 301 redirection lines in htacces and ran it again:
1) non-www, result:
pretty much urls all from within my site and all starting with www. Not one without www, and not one 301 redirection message

2) www, result is alot of urls.
no 301 redirection messages.


So this means my server doesnt have a standard 301 redirection from either the www and non-www?
nico-t is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote