Ok so here is my problem...my site is a PR4 with www.domain.com and a PR0 with domain.com. All my back links are setup as www.domain.com, why is google only listing my site under domain.com rather than www.domain.com. I have a feeling its something to do with my hosting provider, but I dont know for sure...either way I have a feeling that its hurting my SE rankings.
The non-www should have a 301 permanent redirect to the www version. This should take care of it.
google only listing my site under domain.com
I've seen two different reasons why this happens. Either there's a link somewhere going to the non-www version and there's no 301 from non-www to www or googlebot is seeing different content when it goes to the two different versions.
Msg#: 25067 posted 4:12 am on Jul 30, 2004 (gmt 0)
Actually I found my problem...I had my links to subdirectories of my site as [domain.com...] in my html code NOT [domain.com...] so when google would spider through it would go to the directory without the / at the end and the apache web software would do a redirect to domain.com/directory...which was no good since all my PR is in www.domain.com. All is better now...thankfully I have a really awesome host.
You now need to test it to make sure of exactly what happens when you try: domain.com and domain.com/ and then try domain.com/folder and domain.com/folder/ - the first two should redirect to www.domain.com/ and the last two should redirect to www.domain.com/folder/ instead.
Msg#: 25067 posted 11:32 pm on Aug 8, 2004 (gmt 0)
nancyb, Thanks for the link! Now I just wonder how long it will take google to get it right, I 301'd a hand full of pages that moved a few months ago but google still shows them fully indexed.
One other question, since google is now indexing my web pages with tracking urls it's finding on other ppc engines, and my website is 100% static html, is there any rewriting or htaccess stuff I can do to strip the?the=trackingpart out of my urls. Since google keeps finding new ones, and ones that we didn't even make, just redirect links from other search engines, is there a way to have a command to strip out anything with? and = or not to allow anything after html with the exception of html#anchor
I hope this makes sense, not sure how to word it...