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
-
What's the current best practice for URL structure?
We’re really confused about the current best practice of URL structure. For example what would anyone advise to rank for luxury hotel rooms? name.com/luxury-hotel-rooms/
Local Website Optimization | | SolveWebMedia
name.com/hotel/luxury-hotel-rooms/
name.com/hotel/luxury-rooms/
name.com/hotel/luxury/
name.com/luxury-rooms/ Or do we add location? name.com/luxury-hotel-rooms-location/
name.com/hotel/luxury-hotel-rooms-location/ name.com/hotel/luxury-rooms-location/ They also do cottages name.com/cottages/sea-view-holiday-cottages/0 -
Google still indexing home page even after with 301 - Ecommerce Website
Hi all,
Local Website Optimization | | David1986
We have a 301 redirect problem. Google seems to continue indexing a 301 redirect to our old home page. Even after months. We have a multiple language domain, with subfolders: www.example.com (ex page, now with a redirect to the right locale in the right country) www.example.com/it/home (canonical) www.example.com/en/home (canonical) www.example.com/es/home (canonical) www.example.com/fr/home (canonical) www.example.com/de/home (canonical) We still see the old page (www.example.com) in Google results, with old metadata in English and, just in some countries (i.e.: France), we see the correct result, the "new" homepage, www.example.com/fr/home in first position.
The real problem is that Google is still indexing and showing www.example.com as the "real" and "trusted" URL, even if we set: a 301 redirect the right language for every locale in Google Search Console a canonical tag to the locale url an hreflang tag inside the code a specific sitemap with hreflang tag specified for the new homepages Now our redirect process is the following (Italy example).
www.example.com -->301
www.example.com/en/home --> default version --->301
www.example.com/it/home --> 200 Every online tool, from Moz to Bot simulators see that there is a 301. So Correct. Google Search Console says that: on www.example.com there is a 301 (correct) in the internal link section of Google Search Console the www.example.com is still in first position with 34k links. Many of these links are cominig from property subdomains. Should we change those links inside those third level domain? From www.example.com to www.example.com/LOCALE/home? the www.example.com/LOCALE/home are the real home page, they give 200 code Do you know if there's a way to delete the old home page from Google results since this is 301? Do you think that, even after a 301 redirect, if Google sees too many internal links decides to ignore the 301? Thanks for your help! Davide0 -
Moving from html to wordpress site - 301's
Hello, I recently took control of my website from a web designer. I have been reading as much as I can regards SEO etc to make long term improvements to my site. The site was a basic 4 page website for a local cleaning company. Consisting of a homepage, services page, testimonial and contact page. The site performed reasonably given it's lack of detail or SEO but probably only because the level of competition isn't great. I am in the process of rebuilding the site in wordpress and with SEO in mind I intend to have more than 1 page regards services. I have 301'd my services.html page to my number 1 keyword term to gain any little link juice that is available. Now to my questions... Should I be doing this with the other pages? Is it worth 301'ing my contact us page? Is there anything to be gained by doing so? Again should I 301 the index.html to the new homepage? Been reading about this and the issues relating to loops etc but cannot find a definite answer regards the need? Last scenario - lets say my testimonials.html page has some link juice would it be beneficial to 301 that to 1 of my new service pages to give that a kick start as opposed to making a less important page like another testimonials page more powerful? Hope this makes sense, I am a beginner just thinking out loud. Thanks
Local Website Optimization | | sfrediktru80 -
Google can't discern the identity of my site
I have a website, http://NewYorkJazzEvents.com, that promotes jazz bands that are available for brides looking to hire a jazz band to perform at their wedding, or event planners looking to hire a jazz band to perform for a corporate event, etc. This identity, that my site is an Entertainment Agency, is made clear by all of the content on my site, as well as all of the content on its associated sites (such as its linked Facebook, YouTube, and Google Business pages, and many local citations). Yet, contrary to all of this data, the mere presence of the word "events" in my URL and business name has led Google to believe that my site is a Live Jazz Guide, i.e., a site that lists public performances of jazz groups in New York City. The problem, then, is that Google displays the site when people search for local events listings, and not when they search for jazz bands to contract for private events. For example, do a search for "jazz bands new york" and up pops the listings for sites catering to searchers looking to hire bands for private events, like Gigmasters, Gigsalad, right at the top of the list, followed by lots of individual bands. My site is buried (in my results, anyway), on the middle of page 2. (My paid Adwords ad, on the other hand, shows up at the top of paid ads.): https://www.dropbox.com/s/sv4we4gvnb6wkyb/Screenshot%202016-04-11%2019.22.40.png?dl=0 Now do a search for "new york jazz events." Boom! I'm #1 in the natural results, and, unlike in the search for "new york jazz band," my Google plus page and map (or is it the "knowledge graph"?) display right at the top of the right column: https://www.dropbox.com/s/nob24x1b8u1g4or/Screenshot%202016-04-11%2019.18.49.png?dl=0. (Pretty useless to people searching for live jazz listings in New York, though.) (This, by the way, is an additional related frustration: why does Google display all of its local information (its map, links to my Google reviews, etc.) next to my site listing when people are searching for events, but but hides this valuable information next to my site listing when people are search for jazz bands (when my site comes up on page 2)?) For a further confirmation of Google's confusion, see this data from Google that indicates the top search queries that it is using to display my site are centered around searches for local live jazz listings: Google Search Console > Search Traffic > Search Analytics > Queries: https://www.dropbox.com/s/t8blxv6a077iuw6/Screenshot%202016-03-07%2012.28.38.png?dl=0 See also see this data from Google that indicates that it see "events" (which it understands as local live jazz listings) rather than "new york jazz bands" as the essential keyword describing the identity of the site: Google Search Console > Google Index > Content Keywords: https://www.dropbox.com/s/6nk6skfgx9zjzgc/Screenshot%202016-03-07%2012.46.04.png?dl=0 It's been this way for several years. I thought Google was supposed to be smart, but it's pretty dumb in this case (all the other search engines, including Bing, are quite a bit more intelligent). All this trouble, essentially from a word within a URL? Does anyone have an idea of the cause of this issue, and any potential cures? What can I do to clear up Google's confusion?
Local Website Optimization | | ChuckBraman0 -
Our Website is showing on the 11th place on Google Map
Hello, We are a photo studio in New York City, our website is
Local Website Optimization | | YourHollywoodPortrait
and our Google Plus page is http://yourhollywoodportrait.com/ https://plus.google.com/+YourHollywoodPortraitStudioNewYork When doing a search in maps for Boudoir Photography New York City we don't appear in the first 10 results, there is even a studio from New Jersey appearing before us. We have only 5* reviews, we did a bunch of local citations and still we are not in the first page of maps. Would you have any suggestions as to what we are doing wrong or should be doing? Thanks a lot for your help! Michael0 -
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 -
2 clients. 2 websites. Same City. Both bankruptcy attorneys. How to make sure Google doesn't penalize...
Hi Moz'ers! I am creating 2 new websites for 2 different bankruptcy attorneys in the same city. I plan to use different templates BUT from the same template provider. I plan to host with the same hosting company (unless someone here advises me not to). The content will be custom, but similar, as they both practice bankruptcy law. They have different addresses, as they are different law firms. My concern is that Google will penalize for duplicate content because they both practice the same area of law, in the same city, hosting the same, template maker the same, and both won't rank. What should I do to make sure that doesn't happen? Will it be enough that they have different business names, address, and phone numbers? Thanks for any help!!
Local Website Optimization | | BBuck0 -
Can a Find Us Link suffice as the NAP in footer of site?
I understand the need for NAP in the website for citation sourcing / local ranking purposes, etc. Is it possible to use a linking anchor text such as "Find Us" that can link to the Contact Page of the site that does list the street address? Or should it link to the google places listing? The client basically wants to "hide" the NAP, but keep the power of the local listing. Can this be done? Any suggestions? Or an example of website that does this successfully?
Local Website Optimization | | cschwartzel1