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
-
HomePage Stopped Ranking For Brand on Aged Site
I've got an odd issue (that I've never encountered in 27 years in SEO). Our home page stopped ranking for our brand "BlowFish SEO" and is no place to be seen when searching our brand. I do get the knowledge panel on the right-hand side of the page. and our about page now comes up number #1. Technically the on-page SEO is correct This page has ranked for many years for our Brand. If I search blowfish SEO west palm beach I get the home page and all the nice site links. And other various variations of branded search. Our company has lots of mentions across the web and branded backlinks. No manual penalty has been placed on us. Im starting to think some type of negative SEO attack but I can't find it. I do know someone is using my name and brand along with many other companies in cloaked doorway redirected pages to gain SEO leads.. Yeah I know I've complained about it to Google they do nothing about it.. Other things I've checked: No one else seems to be using my brand Home page canonical tag points to itself Title tag contains brand name at the front (rest of site it's at the end) No manual penalty XML sitemap contains home page (and accurate for other pages) To make this even more confusing, if you search the brand name the physical location appears on the right rail with an accurate URL. Ive added an image of the search result when I search BlowFish SEO Please note the top result is PPC the about page is 1st organc Any other ideas that I may be missing? BT8F1fD.png
Local Website Optimization | | BlowFish-SEO0 -
What Is The Best Strategy For Writing Image Alt Text For SEO?
Curious on this topic, as websites that are image heavy, but have little written content can have depend on alt text for "readable content". I am aware the "best practice" is to write it as if you were describing the image to a blind person, but are there any SEO strategies that people have seen good results with? Some examples I've heard are: "unique keyword phrase" "unique keyword phrase + brand name" "Unique Keyword Phrase + LSI Keyword" Interested to hear feedback from the Moz Community! And thanks in advance for sharing your insight.
Local Website Optimization | | LureCreative0 -
Company with different branches: Generic Keywords & Localized Keywords: Best practise?
INITIAL SITUATION: We offer a branded product/service in different cities. We have different contact pages for every city (—> basically just a form and a map, i.e. 100% SHALLOW). GOAL:
Local Website Optimization | | Cesare.Marchetti
We would like to rank for the branded keyword only (—> more generic search intent) but as well as for branded keyword + cities (—> more transactional search intent) combinations. REMARK: It would make little sense in my opinion to develop the individual contact pages (for every city) to „full“ pages with real content as there isn’t really specific content for the differenct cities to add. OPTIONS:
1) HOME page: target for the branded keyword CONTACT pages (one for each city): target for the branded keyword + city name HOME page: target for the branded keyword + all the city names CONTACT pages (one for each city): : NO keyword targeting at all HOME page: target for the branded keyword + different city names CONTACT pages (one for each city): target for the branded keyword + city name Add CANONICAL tag to main page ???!!!??? What is best practise? What would you recommend? Is there another solution? I really would like to know your opinion. Thanks a lot for your hints in advance.
Cheers,
CesareBearbeiten0 -
I've submitted my site to google search console, and only 6 images of 89 images have been indexed in 2 weeks. Should I be worried?
I've submitted my site to google search console, and only 6 images of 89 images have been indexed in 2 weeks. Should I be worried? My site is http://bayareahomebirth.org Images are a pretty big part of this site's content and SEO value. Thanks for your help!
Local Website Optimization | | mattchew0 -
How can I get a Google places 'widget' displaying on SERPS?
Hi all, My query relates to the Google Places 'Widget' (not sure what they are called exactly). If you do a search for, let's say 'Apple' you get the regular SERPs and on the right of the page they display a Google Places panel which includes map, company details & reviews. (and also a G+ panel for some businesses, where appropriate) What determines this being displayed? I had presumed a correctly formatted and optimised 'Places' page and making sure this was linked and verified. We have Google Places set up for quite a long time (and verified) but for some reason it's not being displayed. Any thoughts? On another note, a client of ours has the opposite issue - they would like to remove this panel from SERPs. I'm guessing the only way to do that would be to remove the Google Places page? Thanks in advance...
Local Website Optimization | | davidmaxwell0 -
How to target an established .co.uk site/blog to audiences in other English speaking countries - UAE, Singapore for example?
Excuse for the novice questions, but looking for help! 🙂 I have an established .co.uk website/blog for which I have established a good solid following in the UK over a good number of years. That said I have recently relocated to Dubai and so I am looking to target my English blog content to English speakers here and Singapore? While the language setting of my site is "en" is there anyway that I can change this to "en-ae" and "en-sg" for example to build a following in these markets? Or is my .co.uk TLD an issue that is going to hold me back from building following in these locations? I ask as I have just read the hreflang announcement from Google, but noticed in my Webmaster Tools that I get the following message: "Your site has no hreflang tags". Thanks in advance!
Local Website Optimization | | twofourseven0 -
Site was hacked - do I need to change my phone number?
The site I was leasing was hacked about a year ago. I've bought a new domain and changed everything about the site. It is completely separated from the old domain. However, my current phone number is still visible on the old site and I can't get it down. I really don't want to get a new phone number, but the SEO success of my new site is extremely important. Is there anyway the fact that my old phone number on the hacked site could hurt my new site's standing in Google? Thank you so much!
Local Website Optimization | | OptimizationMegan0 -
Which is better for Local & National coupons --1000s of Indexed Pages per City or only a Few?
Not sure where this belongs.. I am developing a coupons site for listing local coupons and national coupons (think Valpak+RetailMeNot), eventually in all major cities, and am VERY concerned about how many internal pages to let google 'follow' for indexing, as it can exceed 10,000 per city. Is there a way to determine what the optimal approach is for internal paging/indexing BEFORE I actually launch the site (it is about ready except for this darned url question, which seems critical) Ie can I put in searchwords for google to determine which ones are most worthy to have their own indexed page? I'm a newbie sort of, so please put answer in simple terms. I'm one person and have limited funds and need to find the cheapest way to get the best organic results for each city that I cover. Is there a generic answer? One SEO firm told me the more variety the better. Another told me that simple is better, and use content on the simple pages to get variety. So confused I decided to consult the experts here! Here's the site concept: **FOR EACH CITY: ** User inputs location: Main city only(ie Houston), or 1 of 40 city regions(suburb, etc..), or zip code, or zip-street combo, OR allow gps lookup. A miles range is defaulted or chosen by the user. After search area is determined, user chooses 1 of 6 types of coupons searches: 1. Online shopping with national coupon codes, choice of 16 categories (electronics, health, clothes, etc) and 100 subcategories (computers, skin care products, mens shirts) These are national offers for chains like Kohls, which do not use the users location at all. 2. Local shopping in-store coupons, choice of same 16 categories and 100 subcategories that are used for online shopping in #1 (mom & pop shoe store or local chain offer). The results will be within the users chosen location and range. 3. Local restaurant coupons, about 60 subcategories (pizza, fast food, sandwiches). The results are again within the users chosen location and range. 4. Local services coupons, 8 categories (auto repair, activities,etc..) and around 200 subcategories (brakes, miniature golf, etc..). Results within users chosen location and range. 5. Local groceries. This is one page for the main city with coupons.com grocery coupons, and listing the main grocery stores in the city. This page does not break down by sub regions, or zip, etc.. 6. Local weekly ad circulars. This is one page for the main city that displays about 50 main national stores that are located in that main city. So, the best way to handle the urls indexed for the dynamic searches by locations, type of coupon, categories/subcats, and business pages The combinations of potential urls to index are nearly unlimited: Does the user's location matter when he searches for one thing (restaurants), but not for another (Kohls)? IF so, how do I know this? SHould I tailor indexed urls to that knowledge? Is there an advantage to having a url for NATIONAL cos that ties to each main city: shopping/Kohls vs shopping/Kohls/Houston or even shopping/Kohls/Houston-suburb? Again, I"m talking about 'follow' links for indexing. I realize I can have google index just a few main categories and subcats and not the others, or a few city regions but not all of them, etc.. while actually having internal pages for all of them.. Is it better to have 10,000 urls for say coupon-type/city-region/subcategory or just one for the main city: main-city/all coupons?, or something in between? You get the gist. I don't know how to begin to figure out the answers to these kinds of questions and yet they seem critical to the design of the site. The competition: sites like Valpak, MoneyMailer, localsaver seem to favor the 'more is better' approach, with coupons/zipcode/category or coupons/bizname/zipcode But a site like 8coupons.com appears to have no indexing for categories or subcategories at all! They have city-subregion/coupons and they have individual businesses bizname/city-subregion but as far as I see no city/category or city-subregion/category. And a very popular coupons site in my city only has maincity/coupons maincity/a few categories and maincity/bizname/coupons. Sorry this is so long, but it seems very complicated to me and I wanted to make the issue as clear as possible. Thanks, couponguy
Local Website Optimization | | couponguy1