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
-
What's the best SEO tactics when you have a dedicated web address pointing to a page on a different site?
Hope someone can help with a question I've got about sorting out some duplicate content issues. To simplify the question, imagine there is a website a.com which has a page a.com/newslettersignup. In addition to the a.com domain, there is also a different web address, ashortcut.com, which points to a.com/newslettersignup. ashortcut.com is the web address that is advertised in marketing material etc. So what is the best way then to tell Google etc. that ashortcut.com is the preferred URL for the page which sits at a.com/newslettersignup? The advice I've read about the canonical tag, for example, doesn't cover this exact scenario so although it can support cross-domain information, I'm not sure if that's the best route to follow. Thanks!
On-Page Optimization | | Nobody15755058948220 -
How long keep 301 redirects?
Our site has been updated twice in the past 6 years with new, better urls. Initially we did 301 redirects 3 years ago for the url redirects. Recently some of those redirected pages have been redirected again. Question: How long before it's time to have the old, original urls removed through Google? And, once that is done, how long to wait before removing the older redirects from the htaccess file? Appreciate any feedback/insights on this matter.
On-Page Optimization | | Manifestation0 -
Best practice for a website where the publications (catalogues) expire frequently
Hi guys, Hope to find some smart SEOs around here and where I can to contribute to the community! I wanted to share an issue we are having with our website, which is focused on the promotional flyers of the supermarket chains. These are often valid for a short period of time and then expire. So it makes no sense to keep them but also, if we delete them, that would create a lot of 404s or something. So how do you think it is the best way to go around this problem? should we delete them? or when deleted to redirect the dead pages to the homepage? or keep them in an archive live site.com/brand/archive/ ? Thank you so much for any opinions, much appreciated! Best
On-Page Optimization | | commissionshare0 -
What is the best way to change keywords?
I have a client who is moving and I'll need to redirect their site to a new city. Taking local out of the picture, what is the best way to convert the site? Here are somethings I've already done. Changed the title keywords Ensured the page grade is an A for the new keywords. Changed the alt tags on images on the front page. Since I made these changes, the website has actually fallen in ranks from what it was initially ranking for the new city (the website was already ranking organically on page 2 and has dropped to mid page 3.) Thanks in advance
On-Page Optimization | | jonnyholt0 -
Duplicate Page Content Should we 301 - Best Practices?
What would be the best way to avoid a Duplicate Page Content for these type of pages. Our website generates user friendly urls, for each page..
On-Page Optimization | | 365ToursSafaris
So it is the same exact page, just both versions of the url work.. Example: http://www.safari365.com/about-africa/wildebeest-migration http://www.safari365.com/wildebeest-migration I don't think adding code to the page will work because its the same page for the incorrect and correct versions of the page. I don't think i can use the URL parameter setting because the version with /about-africa/ is the correct (correct as it it follows the site navigation) I was thinking of using the htaccess to redirect to the correct version.. Will that work ? and does it follow best Practices ? any other suggestions that would work better ?0 -
Seo-friendly way to post blog content to homepage?
We have an e-commerce website. We would like to feature content from our blog on the site's homepage (both on same domain). The content we want to feature is latest posts titles (say 5) plus the few first lines from each post. We want search engines to be able to read this content. Is there a SEO friendly way to achieve this? Thanks in advance.
On-Page Optimization | | gerardoH0 -
Best title tag structure?
Hi, In the below example, which one do you think would work best if any. The website is called greatshoes.co.uk (fictitious) The category is 'work shoes' and a page under this cat is lets say 'Size 9 work shoes' I tend to build my title tags like this: size 9 work shoes, cheap size 9 work shoes | greatshoes.co.uk BUT I have read on here it should be more like this: size 9 work shoes < work shoes | greatshoes.co.uk Does anyone think it would make a difference when targeting for the term 'size 9 work shoes' which title tag I use. Cheers
On-Page Optimization | | activitysuper0 -
Avoiding "Duplicate Page Title" and "Duplicate Page Content" - Best Practices?
We have a website with a searchable database of recipes. You can search the database using an online form with dropdown options for: Course (starter, main, salad, etc)
On-Page Optimization | | smaavie
Cooking Method (fry, bake, boil, steam, etc)
Preparation Time (Under 30 min, 30min to 1 hour, Over 1 hour) Here are some examples of how URLs may look when searching for a recipe: find-a-recipe.php?course=starter
find-a-recipe.php?course=main&preperation-time=30min+to+1+hour
find-a-recipe.php?cooking-method=fry&preperation-time=over+1+hour There is also pagination of search results, so the URL could also have the variable "start", e.g. find-a-recipe.php?course=salad&start=30 There can be any combination of these variables, meaning there are hundreds of possible search results URL variations. This all works well on the site, however it gives multiple "Duplicate Page Title" and "Duplicate Page Content" errors when crawled by SEOmoz. I've seached online and found several possible solutions for this, such as: Setting canonical tag Adding these URL variables to Google Webmasters to tell Google to ignore them Change the Title tag in the head dynamically based on what URL variables are present However I am not sure which of these would be best. As far as I can tell the canonical tag should be used when you have the same page available at two seperate URLs, but this isn't the case here as the search results are always different. Adding these URL variables to Google webmasters won't fix the problem in other search engines, and will presumably continue to get these errors in our SEOmoz crawl reports. Changing the title tag each time can lead to very long title tags, and it doesn't address the problem of duplicate page content. I had hoped there would be a standard solution for problems like this, as I imagine others will have come across this before, but I cannot find the ideal solution. Any help would be much appreciated. Kind Regards5