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.
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
-
Complete redesign of website and 301 redirects
I did a complete redesign and content change for my website. I have my new webpages indexed but they still haven't replaced the old ones after 1 month. In search results I see both the old ones and the news ones. How long of a delay should I expect (approximately) for the old pages to be replaced by the new ones knowing the entire website was changed. Thank you,
On-Page Optimization | | seoanalytics0 -
Best .net cms and ecommerce platform for seo?
Hi and thanks for looking. Due to internal constraints we are looking at a .net cms and ecommerce solution, I would have preferred a magento and wordpress solution but we have to work within our constraints. Can anyone share their experiences or thoughts on what cms they would use with seo in mind and what eCommerce platform, again with seo in mind. thanks again for looking and all replies gratefully received.
On-Page Optimization | | Renford_Nelson1 -
Best way to upload products to Magento?
The import/export tool Magento has is really disappointing, especially when it comes to uploading images. Creating products manually is very time consuming. Could anyone recommend a method to upload products through a feed, is there any plugins etc?
On-Page Optimization | | Jseddon920 -
My home page URL http://seadwellers.com/ redirects to http://www.seadwellers.com/. Is this a problem?
"The URL http://seadwellers.com/ redirects to http://www.seadwellers.com/. Do you want to crawl http://www.seadwellers.com/ instead?" I was given this when I tried to crawl my home page using MOZ software. I was not aware of this, do not know if it could be a problem concerning any aspect of SEO, etc? :
On-Page Optimization | | sdwellers0 -
Site Architecture: How do I best Optimize for Similar Keywords?
Hello Moz Community! I'm really struggling trying to decide on an improved site architecture. I run an online proofreading & editing website. This leaves us targeting many different niche keywords. For example: blog editing/proofreading, essay editing/proofreading, book editing/proofreading, resume... you get the point. I feel like editing & proofreading are similar enough to target on the same page(s). However, the issue is that I'm also having to deal with what I'm calling derivative keywords. For example, when I try to optimize for 'essay editing/proofreading', I also have to think about: paper editing, paper editor, paper correction, edit my paper, etc. I would have no problem optimizing the page for 'essay editing' in the title, H1, etc. and then targeting these words as secondary keywords within the body text, etc., however, I keep thinking 'a large slice of a small pie is better than a small slice of a big one.' You see, the keyword 'essay correction' has only about one-third the monthly searches as 'essay editing', but it is 50% less competitive. The same is loosely true for the rest of the 'derivative' keywords. I'd have no problem building specific pages for these derivative keyword groups, however, I'm very concerned how this would effect my site from a user experience perspective. I don't want to have a master "services" page with links to book editing, resume editing, essay editing, etc. and then also show paper editing, essay correction, etc. To me, this would be confusing... "What's the difference between essay editing and paper editing?". Any guidance is much appreciated. This has got my head spinning! Thanks!
On-Page Optimization | | TBiz0 -
Best approach to create a mobile version of a website
Hi all, I have a customer that wants to create a mobile version of his website, he wants to create a subdomain to redirect visitors to the mobile version and this mobile version will be a separate folder hosted on the same hosting. I'm seeing really good things from frameworks like JqueryMobile but I thinks they are not really SEO friendly since they load pages with Ajax. So, the question is: its ok to use this kind of frameworks or should I create all the html and css by myself? I'm really looking forward to use the frameworks, since its faster and less time consuming than creating the whole site with html. But I don't want to waste time if it will not be SEO friendly. Thanks in advance
On-Page Optimization | | Pablotavano0 -
How best to approach archiving badly optimised content
I signed up SEO Moz about a month ago as i'm currently rebuilding my site from scratch and wanted to learn from current mistakes. At present I use the forum software Invision Power Board to manage my site and one thing i've learnt is that it is terrible for SEO, there are so many thousands of errors listed by the crawler that it's not even worth trying to fix it. However because it has 5 or 6 years worth of content alot of which is on Google I don't want to totally remove it, rather I would prefer to archive it of with a big banner at the top letting anybody that visits it know that it's no longer in use and pointing them to the frontpage. I should note that it is in a subfolder already so the location of any of the links won't be changed. So the few questions I have are: The forum index has alot of link juice and I would like to redirect that to the new forum index, however for archive purposes the old index still needs to be accessible. Some topics are very popular and appear high in Google and have alot of backlinks. The important information in these forum topics will be available elsewhere on the new rebuilt site. Again I would like to redirect both link juice and users to the new page, however being a forum topic there are tens or hundreds of pages of old comments that need to still be accessible for reference. There are bound to be duplicate meta title and description issues with new similarly named categories appearing both on the new site and the old forum, is this going to be that much of a problem? So really what i'm asking is, how should I go about archiving this of without destroying content and rankings, but still making sure that the new stuff is getting the right exposure both to users and search engines alike?
On-Page Optimization | | freezedriedmedia0 -
Login Page Redirection
Hello, I have certain pages on my site which are login only. Am wondering if a user reaches that page, should I send him to a 301 redirect to a new login page? or some other form of redirection? Any suggestions on how to best tackle this situation? Update If I redirect to a login.php page, then what kind of redirection should I use? Thank you for your time, Anant
On-Page Optimization | | anantgarg0