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
-
Htaccess redirect, from /year/month to /blog
I am trying to make some redirects so we don't lose that SEO juice. I am trying to move our blog structure from:
On-Page Optimization | | opiates
http://www.domain.com/2015/09/title-of-blog to:
http://www.domain.com/blog/title-of-blog I need to do redirects in htaccess from the old structure to the new structure but I can't seem to get it working properly. Here is what I have thus far. <code>RewriteEngine on RewriteBase / RewriteRule ^(.0-9)\/^(.0-9)\$ $1/ [R=301,L]</code> Any suggestions?0 -
301 Redirect to external site
Hi guys, We have a client who is getting their website redesigned through us. They are discontinuing couple of their services which will not get featured in the new site. They are fairly well ranked for these services and my client wishes to 301 redirect these pages to an external site owned by his friend so that they benefit out of the ranking. The question is: Will my client's website's general ranking get affected due to 301 redirecting to an external site? The external site is not spammy or red-flagged by Google (at the moment, at least). Thanks in advance!
On-Page Optimization | | RameshNair
Ramesh Nair0 -
Will changing a site from https to normal http have any SEO impact if we do automatic redirects?
We currently have a site which uses https and want to change to normal http only (for reasons unrelated to SEO). We were planning to do this with a change in our server configuration (we use Nginx, and can automatically redirect https to http). Our site has been around for approx 1 year, so there are links floating around in the Internet which will still be using https. These will be automatically redirected to http. What will be the impact on our SEO? I understand that our webmaster tools account may need to change...
On-Page Optimization | | michaelcho0 -
Best start for int'l SEO?
Hi all We're soon going to begin our international SEO efforts, and I wanted to get some opinions on laying the foundation first. I'm aware of the best, most ideal practices (getting a proper translator, ccTLDs vs subdomains vs folders, etc.) and wanted to know if this would be a good first step: Creating folders by language/country code (does it matter which?) that will have unique copy on the respective page, and targeting those pages to the corresponding country via Google WMT. The nature of our website would require a massive, coordinated effort to translate all of the content, so I was thinking about starting with the homepage for each country and going from there. Is the risk of duplicate content for every new folder too high to chance not translating EVERY bit of content? Thanks for any help or advice!
On-Page Optimization | | brandonRT0 -
301 Redirects From a URL without Keyphrases to one With Keyphrases
I have a client that sells services. Each service offered currently has a URL structure like this: www.companyname.com/product/asp$view-id-page3022-item-24 These pages are pretty old, and I would love to have a more user-friendly URL like this: www.companyname.com/product/purple-swatch-watch If I rename the URL and do a 301 redirect, what impact will that have on search? Ideally, this page will be optimized for "purple swatch watch", but the current URL structure is so... well, you know. My apologies if this has been answered before. I tried looking through archived of 301 issues, but lost hope after my first 10 or so attempts at answered didn't help this specific issue.
On-Page Optimization | | ericav0 -
What's the best practice for implementing a "content disclaimer" that doesn't block search robots?
Our client needs a content disclaimer on their site. This is a simple "If you agree to these rules then click YES if not click NO" and you're pushed back to the home page. I have this gut feeling that this may cause an upset with the search robots. Any advice? R/ John
On-Page Optimization | | TheNorthernOffice790 -
What is the best practice for changing a url of an existing page
I a looking through the on-page SEO reports in SEOmoz for one of my sites. It suggests that I change the url of a particular page to match the desired search term I want to rank for. In this case it is a site for a local business and the url is example.com/testimonials. when it probabaly should have instead been example.com/city-business-reviews. I have just a couple links to this page and I'm stuck towards the bottom of page 1 in the SERPs currently. Questions... 1. Should I change the url to include the exact keyword term I want the page to rank for? 2. If yes, what is the best method to ensure that any existing link juice to the current url is retained? Would I change the url, then create a new page with the old url and apply a 301 redirect to point it to the new page? Thanks!
On-Page Optimization | | fastestmanalive0 -
Best site structure for SEO
Hi, I'm currently in the process of redesigning/rebuilding a well ranking but a dated looking and structured website. Using analytics info I'm trying to put togerther an optimied site map plan for the site based on keywords. Currently the site is structured like this (a few examples) for some of its best ranking keywords / landing pages www.companyname.co.uk/frames/software/companyname-software/keyword/overview.php www.companyname.co.uk/frames/software/companyname-software/keyword/keyword.php I'd like to simplfy this as part of the re build so url's look like this www.companyname.co.uk/companyname-software/softwarecatogry/keyword Obviously I would 201 the old urls. My question is : A. is this a good idea? (From what I've read it is?) B. is there any benifit from having the company name repeated in the url (ie www.companyname.co.uk/companyname-software). My thinking before this is that companyname-software currently ranks well and brings a good amount of traffic. Or should I just go with www.companyname.co.uk/software/softwarecatogry/keyword as opposed to www.companyname.co.uk/companyname-software/softwarecatogry/keyword? Many thanks in advance!
On-Page Optimization | | JamesJacobs0