What is the best way to execute a geo redirect?
-
Based on what I've read, it seems like everyone agrees an IP-based, server side redirect is fine for SEO if you have content that is "geo" in nature. What I don't understand is how to actually do this. It seems like after a bit of research there are 3 options:
-
You can do a 301 which it seems like most sites do, but that basically means if google crawls you in different US areas (which it may or may not) it essentially thinks you have multiple homepages. Does google only crawl from SF-based IPs?
-
302 passes no juice, so probably don't want to do that.
-
Yelp does a 303 redirect, which it seems like nobody else does, but Yelp is obviously very SEO-savvy. Is this perhaps a better way that solves for the above issues?
Thoughts on what is best approach here?
-
-
You are welcome.
Hmmmm.. don't know about Yelp, I've seen others using 303 too, but still 302 seems to be the way to go.
-
Thanks Federico. Any insight as to why Yelp, who is very seo savvy, uses a 303?
-
Well, personally I would go with a 302.
The reasons are:
301: the browser "remembers" that 301, so next time the user request that page, their browser will automatically redirect as the last time it accessed the page. However, the 302, as a temporary redirect will let the browser know that it should re-request the page.
Say your website www.example.com holds an english version in the root, and then a german version in www.example.com/de. If a german user accesses the site for the first time, you do the geolocation check and redirect to german version while saving a session/cookie of the chosen version. Then if the user chooses to switch to the english version you update that cookie/session to save the one that the user chose to navigate and make a 302 redirection. Next time the user accesses, having the cookie will automatically show/redirect to the appropriate language.
Using the same example, if you did a 301, then even if the user changed the language, as the browser already has a 301-permanent redirect, he will be redirected to the "first version served".
SEOwise, if we take a quick look on Google, they use 302 to redirect users to the "appropriate" version, so I guess that should be ok as long as you use rel="alternate" to point to the other versions of your site:
https://support.google.com/webmasters/answer/189077?hl=en
EDIT: link juice flows to the page that the link is pointing. Say a link points to www.example.com then the juice goes to www.example.com, even if that page has a redirection to the german version (when accessed from germany). Anyway, it is said that 302s also pass some pagerank.
Hope that helped.
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
-
Is this keyword stuffing or best practice?
I'm a psychotherapist here in California. Its common practice for people to say "counseling and therapy" on their websites. Although the two are technically different, most people consider them to be synonyms. Do you think google would consider this practice to be keyword stuffing? Also, I am making a page for the forms I need people to fill out before they see me. Do you think it is bad to list links to the forms like this:
On-Page Optimization | | joebordersmft
-counseling / therapy intake form
-informed consent for counseling / therapy
as opposed to
-intake form
-informed consent
.....I think this falls under the idea that readability is important. I'm just really struggling because recently google decided my main keywords are things that have very little to do with therapy/counseling.0 -
Best way to give away rank?
We have a set of branded and unbranded keywords that we want our product site to rank very high for. Right now, our support site owns the first page of rankings for most of the keywords we care about. What is the most efficient way to give the rank currently enjoyed by our support site to our product site? Both have very high domain authority and tons of backlinks. Here are some factors that might apply: Support site has lots of copy including these keywords, while product site doesn't (yet) Support site doesn't currently include a lot of links to the product site (and vice versa) They're on the same domain -- support is at support.domain.com, product is on www.domain.com Support site has many more pages and their URLs are more semantically related to keywords I know there are lots of structural improvements implied by the above -- on the product site, increase the amount of copy (and landing pages) focused on keywords and significantly improve internal links, etc. But I'm wondering if the fact we control both sites gives us any options we wouldn't have in a competitive situation?
On-Page Optimization | | hoosteeno0 -
301 or Keep 2 Chocolate Best Sellers SEO?
Hi All, So we have two best selling organic chocolates that are very similar. http://www.santabarbarachocolate.com/bulk-organic-dark-chocolate-72-without-soy-lecithin/ and http://www.santabarbarachocolate.com/bulk-organic-dark-chocolate-72-without-soy-lecithin/ Because we are a small company it would be ideal to offer only one of these chocolates due to the cost of making it from the raw cacao. This is the question: From a SEO page rank perspective, do we get better rank by 301 redirecting one chocolate to the other thereby generating more traffic through traffic consolidation to one chocolate. Or do we get better SEO rank by having two chocolates on the site that both get clicks with different content? Basically it is a question of divided forces. Thanks for your help, Jason
On-Page Optimization | | santabarbarachocolate0 -
Should I Redirect My Subdomain Or Not?
Hi everyone, I have a question regarding my subdomain. My website is japracool[dot]com and it was under coriate[dot]com (in my hosting service). I still can access my website trough japracool[dot]coriate[dot]com. My question, should I redirect it to japracool[dot]com? Thanks before.
On-Page Optimization | | Japracool0 -
Best practice for Portfolio Links
I have a client with a really large project portfolio (over 500 project images), which causes their portfolio page to have well over the 100 links that are recommended. How can I reduce this without reducing the number of photos they can upload?
On-Page Optimization | | HochKaren0 -
Geo-targeted content and SEO?
I am wondering, what effect does geo-targeted "cookie cutter" content have on SEO. For example, one might have a list of "Top US Comedians", which appears as "Top UK Comedians" for users from the United Kingdom. The data would be populated with information from a database in both cases, but would be completely different for each region, with the exception of a few words. Is this essentially giving Google's (US-based) crawler different content to users? I know that plenty of sites do it, but is it legitimate? Would it be better to redirect to a unique page, based on location, rather than change the content of one static page? I know what the logical SEO answer is here, but even some of the big players use the "wrong" tactic. I am very interested to hear your thoughts.
On-Page Optimization | | HalogenDigital0 -
How to organize a Knowledge Center for best SEO?
Hi, My Client is facing pushback from her company on separating assets into different pages (webinars, press releases, by-lines, etc) vs lumping them all together in one page. We need to define the SEO benefits of doing this in an organized fashion vs one big lump. Can you help? Thanks,
On-Page Optimization | | ScratchMM0 -
Whats the best way to rank high for several different keywords?
I Have a print website www.print.dor2dor.com and we print 100's of products. I was wandering what is the best way to rank high for severall keywords as we dont want to just rank high for printing because when people are searching they normally type in the product they are looking for with printing at the end of it.
On-Page Optimization | | WillFrank0