International Site Geolocation Redirection (best way to redirect and allow Google bots to index sites)
-
I have a client that has an international website. The website currently has IP detection and redirects you to the subdomain for your country. They have currently only launched the Australian website and are not yet open to the rest of the world: https://au.domain.com/
Google is not indexing the Australian website or pages, instead I believe that the bots are being blocked by the IP redirection every time they try to visit one of the Australian pages. Therefore only the US 'coming soon' page is being properly indexed. So, I would like to know the best way to place a geolocation redirection without creating a splash page to select location? User friendliness is most important (so we don't want cookies etc).
I have seen this great Whiteboard Friday video on Where to Host and How to Target, which makes sense, but what it doesn't tell me is exactly the best method for redirection except at about 10:20 where it tells me what I'm doing is incorrect. I have also read a number of other posts on IP redirection, but none tell me the best method, and some are a little different examples...
I need for US visitors to see the US coming soon page and for Google to index the Australian website. I have seen a lot about JS redirects, IP redirects and .htaccess redirects, but unfortunately my technical knowledge of how these affect Google's bots doesn't really help.
Appreciate your answers.
Cheers, Lincoln
-
Both should happen.
You should design your coming soon page in a way that allows visitors to visit the AU version meanwhile. Perhaps even adding a newsletter sign up form...
If you are already getting links, then Google is already aware of your site. They were probably not indexing the AU version as you were forcing them to go the US, which is an "under construction" page.
-
Actually, one last minor touch!
In this case, the US site is a 'coming soon' page. Is it necessary at this point to put the 'Choose Location' link in it (so that Google Bots follow the link to find the AU site, because they'll be initially redirected to the US site), or will the Google Bots find the AU site naturally through our other SEO efforts (and be able to index it because they've followed links that won't redirect them to the US site)?
-
Amazing. Exactly what I wanted to hear. After all the other posts that I've read, I think you've summed it up perfectly, as a lot of the other posts really didn't answer it technically or as specifically.
I agree with the setup proposed above and will see if my client's dev team can implement for him.
Thanks, Lincoln
-
Subfolders ARE the best approach
As to your options, I would go with A, but if a visitor goes to say the Canadian version: domain.com/ca even though he previously accessed domain.com and was redirected to the AU version as it was the first time and a cookie was created/session var to store that, I wouldn't redirect him/her.
Let me put this differently.
AU visitor accesses domain.com, you redirect to domain.com/au (and you don't create any cookie, as the user actually didn't select a specific location).
Visitor accesses again, redirected to the AU version, but chooses to change the Country to CA, then he/she is redirected to domain.com/ca (a cookie/session var is now created as the user actually chose another option).
Visitor accesses again domain.com (he has the cookie/session var), he is redirected to the CA version regardless he is in Australia.
Visitor accesses again, but this time he types domain.com/au instead of the naked domain. He has the cookie, but I wouldn't redirect him... as I figure he typed the AU version because he WANTED the AU version.
That's what I would do. However, you can choose to redirect him anyway to the CA version as he has a cookie/sessio var stored. That's up to you.
Then on the 302, what I meant is that every redirection you make in this case should return a 302 status code, not a 301, as the 301s can be stored by the browser and then the user will be "forced" to the redirection. EX: he is in the AU page, chooses to go to CA, you create a 301 (instead of a 302) then next time he accesses the AU version he is redirected BY THE BROWSER to the CA version.
Hope that clears it up.
-
Hi Frederico,
Understood regarding the subdomains. I've always thought subfolders to be a cleaner and more professional approach, especially when it comes to SEO.
What would I ask for from a technical standpoint for the following two options. Appreciate you clarifying for me:
Option 1 (best option) - subfolders
An Australian visitor visits domain.com and is redirected to domain.com/au - the website remembers that this person is Australian. The same Australian visitor then visits the site from the US and the domain.com/au site shows.
The same as Logitech, they have an option to select a different country via a link at the bottom of the page, and if they do so, the website remembers for next time.
Option 2 - subdomains
Idea A: An Australian visitor visits domain.com and is redirected to au.domain.com the first time. domain.com remembers this preference the first time and redirects them there every time thereafter.
The same as Logitech, the user has an option to select a different location, which would update domain.com to remember a different location next time.
**Idea B: **An Australian visitor visits domain.com - the first time they visit they are prompted to select a location. This remembers the preference and every time thereafter would redirect them there.
The same as Logitech, the user has an option to select a different location, which would redirect them to domain.com to update their location preference.
Not sure I follow you on 302 redirect. You mean once the fix has been coded?
Thanks Frederico!
-
Glad I was of help.
I do have some technical knowledge on redirections, however, as we are dealing with subdomains here, I'm not sure cookies will work. Remember that x.domain.com is a different domain than y.domain.com, thus making a cookie created by x.domain.com useless on y.domain.com.
I've checked a couple of sites that do this kind of redirection, and can't hardly found an example of it using cookies, I find lots of them using subfolders: domain.com/au/, etc. as the cookie is valid for all subfolders.
How about forgeting about a "Global" cookie, and just using one for the particular subdomain (if you still want to go with the subdomain route), here's how it will work:
domain.com -> redirects to the "best match" (US go to us version, AU go to au version, others go to whatever version you consider the "default").
Then, in the subdomain, you implement the lightbox pop-up (the less intrusive one you can come up with) and save their response, so if the user accesses the next day to au.domain.com they won't be prompted again to change the location, BUT if they access domain.com (a US visitor) he/she will be redirected to the US version and get the lightbox again.
You end up "basically" with the same results, however, it could be a little annoying for some users, at least I know I would be annoyed if that happened to me.
Give it a day and think if subfolders aren't better in your case, that should solve all problems, and implementation will as easy as 1,2,3 (I am capable of helping you with that approach). You won't be using cookies, but session variables (although cookies will allow you to remember the user choice for any time-frame you want).
Oops, forgot to mention, 302 redirects
-
Frederico, this is exactly the advice I was looking for. Just the simple statement that bots should be treated as a user and not 'forced' is obvious logic I've overlooked.
I believe that then the best scenario for my situation is the same as Logitech:
- User enters and is redirected by location when they visit domain.com
- When redirected to us.domain.com or au.domain.com they then have the option to change location using a link in the footer and by cookies are not forced to change location again
Now to have the developers figure out how to code this. I wonder if you might shed light on the technical terminology of exactly what style of redirection this is? IP redirection w/ cookies, plus choose location page that updates cookies?
Cheers, Linc.
-
A few Webmaster videos ago, Google's Matt Cutts pointed out that that Googlebot should be treated exactly the same as if it was a regular person visiting your site, which you are currently doing.
However, you are now FORCING users to stay on "their" corresponding location, instead you should "suggest" but not force it.
Example: user access the naked domain: domain.com then you check his/her IP and redirect the the appropriate location, you must in this case, use some kind of "we already redirected him/her" method to avoid forcing the user to a specific country subdomain, you can use either sessions or cookies. Once you redirect, you create a cookie saving the option or a session variable. You now have the visitor in the location you want and you should offer an easy way to switch the location (check live examples, like logitech.com), a drop down menu for example on the footer. Now, IF a user accesses a location, say au.domain.com, you shouldn't do the automatic redirection, but instead, you could bring a lightbox pop-up suggesting the user to go to their "best match" location.
Using the above method allows Google to access any page, without forcing it to a specific location, plus, from my point of view, it is the easier and friendlier way for users too. If I type au.domain.com (while in the US) I probably want to see the AU version, if not, the page will suggest me to switch (and based on my response (closing the window or clicking a "stay here") the site should remember it and avoid re-asking).
Hope that helps!
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Hreflang: customize, selection the best URL structure
Hi All,
Local Website Optimization | | SergeyFufaev
We have two websites:
example.info - this is a working site in Russian hreflang="ru"
example.com - this new site We want to start with US. For the US, we will have: local address and phone, currency in $, fully translated content.
In the future we want to expand the business (ie en-GB, en-CA, de-DE, fr-CA, fr-FR). For each country, a regional dialect, currency, address and telephone number will be used. I need to choose the right URL structure so that there won't be problems in the future. 1. When configuring geotargeting (ie fr-CA and en-CA ) in the URL of the page specify: • http://example.com/ca/ - hreflang="en-CA" - Can use Search Console geotargeting
• http://example.com/ca/fr/ - hreflang="fr-CA"
or
• http://example.com/en-ca/ - hreflang="en-CA" - Can I use a geo-targeting search console?
• http://example.com/fr-ca/ - hreflang="fr-CA" .
or
• http://example.com/ca-en/ - hreflang="en-CA" - Can I use a geo-targeting search console?
• http://example.com/ca-fr/ - hreflang="fr-CA" . quote: To geotarget your site on Google:
o Page or site level: Use locale-specific URLs for your site or page. 2. If I set the target (ie "en-CA", "fr-CA" and "fr-FR"). Can I use the page http://example.com/fr/ with customized targeting (hreflang = "fr-FR") for french speakers worldwide (hreflang= "fr"), ie: french speakers worldwide quote: "If you have several alternate URLs targeted at users with the same language but in different locales, it's a good idea also to provide a catchall URL for geographically unspecified users of that language. For example, you may have specific URLs for English speakers in Ireland (en-ie), Canada (en-ca), and Australia (en-au), but should also provide a generic English (en) page for searchers in, say, the US, UK, and all other English-speaking locations. It can be one of the specific pages, if you choose." 3. Where is it better to place select of language and country on the page?
Header, footer, pop-up window ......
The page http://example.com will be used for hreflang = "en". In my case, do I need x-default? Can I use a page with hreflang="en"configured as the x-default version? ie: Is it right?0 -
IYO, What is the Best Language to Build a Site With and Why? Thanks Catherine Corn
IYO, What is the Best Language to Build a Site With and Why? Thanks Catherine Corn
Local Website Optimization | | CatherineCorn10 -
Different variations of my site (www ; non www ; https ; http) have different authority status
In Open Site Explorer I can see that the www and non www versions of my site gets treated differently with one group of links pointing to each version of the same page. This gives a different PA score. eg. http://mydomain.com DA 38 PA 37 http://www.mydomain.com DA 28 PA 27. Currently our preferred variation is https://www.mydomain.com but it used o be http://mydomain.com for 3+ years and I can see that the non www version of my domain have more authority. Would you advise us to "change back" to setting our preferred url as the non www version as before or would it have a negative impact on our SERP ranking etc if we change it again now?
Local Website Optimization | | shaunn140 -
I have 5 sites each targeting a different service my company offers, should I consolidate to one site or merge to one?
I run a photo booth company and have a site for each service I offer. Are smaller sites that are SEO for each service stronger than just having pages for each service on one mother site?thanks,
Local Website Optimization | | hashtagltd0 -
Does anyone have a good program they use for full site audits?
I'm looking to find a program that will do the following: Scan for page errors including code issues, hosting issues, redirect issues, etc. Pages missing Google Analytics Google + Local audit to identify issues with NAP, citations, category selection etc. Find pages with title issues including missing page titles, duplicates or titles that are too short or too long, header tag issues such as missing H1 tags Meta description issues including missing meta descriptions, duplicate meta descriptions or meta descriptions that are too short or too long Link issues including broken internal or external links or missing anchor or ALT text Identify internal or external links using rel=”nofollow” Image issues, such as missing ALT or title text and broken images Identify pages using Schema.org microdata I know there are probably a couple programs that will do little bits here and there so I'm open to suggestions. Thank you.
Local Website Optimization | | SimonWorsfold0 -
Best practices for 301 redirect to a new location website.
We just opened a new location in a nearby city. We were already servicing this location from our main base. As such we had a special page for this location which raked fairly well. The new location will have its own website. Would it be better to 301 redirect the current location page to the new location website? Or should we simply link from the old page to the new location's website? Any best practices?
Local Website Optimization | | Vspeed0 -
International site, be visible on both .com and .co.uk?
Do you guys have any tips to increase the visibility in both Google.com and Google.co.uk? The site today, have good visibility in USA, but its poor in the UK... Information: The server is based in US. No region is set in the Google Webmaster Tools. Incoming links are from global regions, mostly US. Do we need to add a specific section for the UK (uk.site.com or site.com/uk/) and specify region in GWT to make sure Google handle this the right way? Its a lot of work, rewrite all the content for another section, which also is in english...
Local Website Optimization | | Vivamedia0 -
Site does not rank on Google's country specific search engines.
My site shows up on the first page of 'google.com' but not on the other search engines like google.co.uk / google.co.in / google.com.au. It shows up on the 3rd or 4th page for the most part. My competitors' sites rank consistently across all geographical versions of Google. Is there something i am missing out on? My website is a web applicaton and not a business listing.
Local Website Optimization | | dlsound0