Indexing based on location
-
Hi everybody. Bit of an interesting question.
I have a client that wants to have the following pages on their site indexed:
example.fr/home.html on Google.fr for users based in France
example.com/fr/home.html on Google.com for users not based in France.So they wish to have both pages indexed in the end but not displayed to the same geographic users.
Not entirely sure the best way to go about this, so any tips would be much appreciated!
-
Amazing, thank you
-
Most likely using the rel="alternate" hreflang="x" tag, where X is not only the language but also the location. You should have something like this:
1st line tells the default page.
2nd line tells that visitors with french browsers in France should get that page.
3rd line tells that users with french browsers should get that other page.
Think the best way to apply that and you need to do it for each page that has different versions. Those lines are just for the homepage.
PS: That won't guarantee that Google will show the specific page you want, nothing can, but it will help Google understand the structure and serve the best page to the user.
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
-
Oh crap.... Just got de-indexed
Hey fam. So I'm a content creator and halfway SEO for a Locksmith company here in Oregon. As probably a lot of you know, the Locksmith industry is known for being super spammy. This company was no different. In 2009 they had like 50 urls for 5 metros. All ranking on page one or close. Well, when I came on I helped them clean up this mess and get honest. It's been quite a journey but we have 301'd almost every Url back to their one and only brand domain. We use wp-engine (whom I love) and we have never had an issue redirecting anything. But last week, we were finally ready to redirect one of their highest ranking domains back to a proper landing page on the main site. Everything looked clean and we were literally ranking number one in that metro. Then we get this email: | Hello Meier, Your SSL/TLS certificate order for locksmithplusincbendor.com had a domain validation error, so we could not successfully set up your certificate for lpibend. The most common cause for this error is that your domain is not pointed to the correct WP Engine install or IP address. To fix this error and prevent it in the future, we recommend using a CNAME record for your domain instead of an A record. If you have further questions about configuring your domain, please start a chat in the User Portal and a support tech will be glad to help. | and the next day we just disappeared from all rankings. I called wp-engine, they said they fixed a problem with the cdn the ssl. I requested reindexing in search console. Is there anything else I can do? How long should we expect to be out of the game? Thank you so much gang, it's pretty embarring to have this happen, I can't even begin to explain how livid they are with me.
Intermediate & Advanced SEO | | Meier0 -
Google not Indexing images on CDN.
My URL is: http://bit.ly/1H2TArH We have set up a CDN on our own domain: http://bit.ly/292GkZC We have an image sitemap: http://bit.ly/29ca5s3 The image sitemap uses the CDN URLs. We verified the CDN subdomain in GWT. The robots.txt does not restrict any of the photos: http://bit.ly/29eNSXv. We used to have a disallow to /thumb/ which had a 301 redirect to our CDN but we removed both the disallow in the robots.txt as well as the 301. Yet, GWT still reports none of our images on the CDN are indexed. The above screenshot is from the GWT of our main domain.The GWT from the CDN subdomain just shows 0. We did not submit a sitemap to the verified subdomain property because we already have a sitemap submitted to the property on the main domain name. While making a search of images indexed from our CDN, nothing comes up: http://bit.ly/293ZbC1While checking the GWT of the CDN subdomain, I have been getting crawling errors, mainly 500 level errors. Not that many in comparison to the number of images and traffic that we get on our website. Google is crawling, but it seems like it just doesn't index the pictures!? Can anyone help? I have followed all the information that I was able to find on the web but yet, our images on the CDN still can't seem to get indexed.
Intermediate & Advanced SEO | | alphonseha0 -
Drop in Indexed pages
Hope everyone is having an Awesome December! I first noticed a drop in my index in the beginnings of November. My site drop in indexed pages from 1400 to 600 in the past 3-4 weeks. I don't know the cause of it, and would like the community to help me figure out why my indexing has dropped. Thank you for taking time out of your schedule to read this.
Intermediate & Advanced SEO | | BSC0 -
URLs are not indexed
My website has 0.5 million pages with urls like this- **http://www.mycity4kids.com/Delhi-NCR/collage-painting-classes-%3cnear%3e-shalimar-bagh ****, **none of these urls are indexed. Question 1- What can be the possible reason for this issue? Users see this url as : http://www.mycity4kids.com/Delhi-NCR/collage-painting-classes-<near>-shalimar-bagh</near>
Intermediate & Advanced SEO | | prsntsnh
The symbol "<" and ">" get converted into "%3c" and "%3e" respectively, is this the reason for these urls not getting indexed?0 -
Index, Nofollow Issue
We are having on our site a couple of pages that we want the page to be indexed, however, we don't want the links on the page to be followed. For example url: http://www.printez.com/animal-personal-checks.html. We have added in our code: . Bing Webmaster Tools, is telling us the following: The pages uses a meta robots tag. Review the value of the tag to see if you are not unintentionally blocking the page from being indexed (NOINDEX). Question is, is the page using the right code as of now or do we need to do any changes in the code, if so, what should we use for them to index the page, but not to follow the links on the page? Please advise, Morris
Intermediate & Advanced SEO | | PrintEZ0 -
What is the best way to incorporate region-based keywords?
Greetings Mozzers, I am wanting to get the most "bang for my buck" in regards to region based keyword pages. If I am going after the keyword "Plumber" and the region "San Antonio", would it be best to: 1- Create a San Antonio Plumber page where we can target all critical factors for the region based keyword "San Antonio Plumber"
Intermediate & Advanced SEO | | MonsterWeb28
2- Link every instance of the term "San Antonio" and "San Antonio Plumber" throughout the site to the newly created "San Antonio Plumber" page. Thank you for any advice/clarification on this matter.0 -
Problem of indexing
Hello, sorry, I'm French and my English is not necessarily correct. I have a problem indexing in Google. Only the home page is referenced: http://bit.ly/yKP4nD. I am looking for several days but I do not understand why. I looked at: The robots.txt file is ok The sitemap, although it is in ASP, is valid with Google No spam, no hidden text I made a request for reconsideration via Google Webmaster Tools and it has no penalties We do not have noindex So I'm stuck and I'd like your opinion. thank you very much A.
Intermediate & Advanced SEO | | android_lyon0 -
Google indexing flash content
Hi Would googles indexing of flash content count towards page content? for example I have over 7000 flash files, with 1 unique flash file per page followed by a short 2 paragraph snippet, would google count the flash as content towards the overall page? Because at the moment I've x-tagged the roberts with noindex, nofollow and no archive to prevent them from appearing in the search engines. I'm just wondering if the google bot visits and accesses the flash file it'll get the x-tag noindex, nofollow and then stop processing. I think this may be why the panda update also had an effect. thanks
Intermediate & Advanced SEO | | Flapjack0