Forum Moderators: Robert Charlton & goodroi
The country specific pages are separate entities with unique content.
Will this violate Google's quality or other guidelines in any way?
I am concerned because Google's bot may not be able to get the re-directs even though the javascript will still be there as they are afaik deaf to JS.
The first thing you want is to make sure that each country version of a page has its own unique url.
The next thing is to have a normal html click path to the country-specific content. That's essential for googlebot to find it all. Googlebot IPs are assigned to the US and googlebot doesn't do content-negotiation.
Having a regular click path available is also good so you don't aggravate your visitors. No matter how you decide what a visitor "should" see, you won't always get it right. People travel, they borrow or buy other people's computers, do research for far away friends and relatives, and so on. Also some visitors will alwyas have javascript turned off.
And yes, there is some chance of this type of redirect being seen as cloaking by Google, and other search engines, too.
In short, even though technology allows for this kind of scripting, I've found it's not a good idea -- not for googlebot and not for visitors, either.
We have a range of localisation features (phone number, address) on each - and expect this to contribute to increased conversions in each market. Interested in your thoughts.
I would not use the JS to redirect. Google is seldom specific in its Webmaster Guidelines, but it's very specific here....
Sneaky JavaScript redirects [google.com]
it violates the webmaster guidelines to embed a link in JavaScript that redirects the user to a different page with the intent to show the user a different page than the search engine sees. When a redirect link is embedded in JavaScript, the search engine indexes the original page rather than following the link, whereas users are taken to the redirect target. Like cloaking, this practice is deceptive because it displays different content to users and to Googlebot, and can take a visitor somewhere other than where they intended to go.
PS: If need be, until the site versions rank as you'd like them to, link between the two versions of the site using flag icons and nofollowed links.
[edited by: Robert_Charlton at 11:54 pm (utc) on April 19, 2009]
Google itself does do some redirects based on a combination of IP address and browser language in the header. That's two factors, not just one. But Google does not redirect by using javascript, and I don't feel good about client-side redirects either -- not even for the most technically sophisticated organization.
If you feel that you really want to wade into these waters, the most authoritative information I can offer is this 7.5 minute video from Google engineer, Maile Ohye. You may well discover issues that you have not considered.
-thanks in advance (once again!)
You can notice these differences even on this forum. Our UK members write "What Google are doing" and our US members write "What Google is doing". UK websites talk about "delivery" and US websites talk about "shipping" -- thinking of the world "delivery" as something that local companies do in their own truck, such as pizza parlors. US speakers use the word "math", but for the UK it's "maths" - something you never hear the US.
So I'd find a native speaker in the areas you hope to serve and have them review the web copy for any regional "off notes" in usage as well as spelling.
Thanks for sharing the URL:) [googlewebmastercentral.blogspot.com...]