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
-
Best practice to have gated white paper indexed by Google
Our main website white paper page has an image and brief description of the white paper. Once you click the white paper you are redirected to a form to access the gated white paper. Once you complete that form you are redirected to the white paper pdf which is housed on a subdomain/Hubspot. Because of this, I do not believe our website is getting "credit" for the keywords/content on these pages. Any suggestions on how we can allow the search engines to crawl this content while still keeping it gated? As I understand it a sub domain cannot hep or hurt (aside from critical crawler issues) the main domain. Thank you
On-Page Optimization | | NikCall0 -
Best site structure for us?
Hey guys, I have a somewhat silly question that I probably know the answer to - but would still like to hear your POV's. We're a WP theme making company but we also build other stuff. Context: 1. All demos for themes currently go under domain.com/Theme_A/ The demo is lorem ipsum so is marked noindex nofollow. That being said we get rocking analytics data usually (not sure if it's still valuable for G after the noindex). 2. Currently we need landing pages for themes and we're running them under domain.com/Theme_A/optimized-landing-page-title.php dofollow and indexed ofc. My question is...Would we be better off to include all landing pages under a domain.com/wordpress-themes/ category/tax and then go for the optimized-landing-page-title.php page? Does it make any difference either or? Right now we're not REALLY running them on subdomains (though the structure seems like it), they're just folders. We're thinking that more seo juice would flow through the different pages if we have them all under the same category, rather than basically starting from scratch each time under a new folder. Right? Thanks!!!
On-Page Optimization | | andy.bigbangthemes1 -
Is there a way to keep your brand name in the title tag even if your title is cut off?
Hi, I've been thinking of placing our brand name in the front of our title tag for brand recognition purposes. While doing research I came across a few sites that seem to have their brand name on every title tag, regardless of whether of not their title tag was too long and getting cut off by Google. Ex: Personalized Cutting Broads & Humidors...-Etsy The title tag for the example above was for a store in Etsy that sells personalized cutting broads, which was what i searched for. Normally a title tag that is too long gets cut off by Google and your brand name no longer shows if you've positioned it at the end of your title tag. Is there a way to get your brand name to show up at the end of every title tag even if your title is long and gets cut off by Google? Obviously, I could just place the brand name at the front of my title tag, but if I wanted something like my example above is that possible? Thanks You
On-Page Optimization | | znotes0 -
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 -
Redirects for new site new urls?
If redoing a site and updating some of the url's for SEO should you do permanent redirects for the old sites url's ? Using WordPress. I saw that the Yoast Pro plugin allows you to do this inside WordPress , is this the best way? Suggestions.? I know there are old articles written out on the web pointing back to the what will be soon old url's so just wondering what's the best way to go about this. Thanks Scott
On-Page Optimization | | scott3150 -
I noticed that my company owns a few exact match domains that are relevant to our business. Is it worth doing anything other than just redirecting them to our homepage?
It turns out we own a few exact match domains that are relevant to our business. Is it worth doing anything other than just redirecting? (We have owned these sites for a long time, over 15 years.) The keywords are moderate to low in traffic and moderate to high in competitiveness. (Right now they 301 to our main site.) I know exact match is not as valuable as it used to be and that there are mixed opinions about microsites...
On-Page Optimization | | Linda-Vassily0 -
2 keyword title tag best format
I have a client that does ski and snowboard rentals in lake tahoe and not sure what the best way to optimize the home page title tag. Lake Tahoe Ski and Snowboard Rental
On-Page Optimization | | tahoemedia
Lake Tahoe Ski & Snowboard Rental
Ski & Snowboard Rental Lake Tahoe
Ski Rental | Snowboard Rental | Lake Tahoe Which one of these is the best or is it not even listed??? Thanks!0 -
Which Blog Platform to link to an eCommerce site is best?
I just hired a content writer to blog on my site, but I want to make sure I have the right blog set up properly before doing so. I currently have my blog on my own domain. http://alturl.com/ixd7p It's a pretty crappy blog, to be quite frank. (The link to the blog is in the footer). It doesn't allow me to change category titles so it's throwing duplicate content - not good. I am seriously considering getting a self hosted Wordpress blog and linking that to my site instead at 3dcart- so it will be blog.domainname.comMy CONCERN.... I always heard that it's best to have the blog right right on the eCommerce site (just as I have it now) because it keeps feeding the domain fresh content. If I have a self hosted Wordpress blog and have it linked to my site, will it still feed my site fresh content?
On-Page Optimization | | tutugirl0