Geoip redirection, 301 or 302?
-
Hello all
Let me first try to explain what our company does and what it is trying to achieve.
Our company has an online store, sells products for 3 different countries, and two languages for each country.
Currently we have one site, which is open to all countries, what we are trying to achieve is make 3 different stores for these 3 different countries, so we can have a better control over the prices in each country. We are going to use Geoip to redirect the user to the local store in his country.
The suggested new structure is to add sub-folders as following:
www.example.com/ca-en
www.example.com/ca-fr
www.example.com/us-en
...If a visitor is located outside these 3 countries, then she'll be redirected to the root directory www.example.com/en
We can't offer to expand our SEO team to optimize new pages for the local market, it's not the priority for now, the main objective now is to be able to control the prices for different market. so to eliminate the duplicate issue, we'll use canonical tags.
Now knowing our objective from the new URL structure, I have two questions:
1- which redirect should we use? 301, 302?
If we choose 301, then which version of the site will get the link juice? (i.e, /ca-en or /us-en?)
if we choose 302, then will the link juice remain in the original links? is it healthy to use 302 for long term redirections?2- Knowing that Google bots comes from US-IP, does that mean that the other versions of the site won't be crawled (i.e, www.example.com/ca-fr), this is especially important for us as we are using AdWords, and unindexed pages will effect our quality score badly.
I'd like to know if you have other account structure in your mind that would be better than this proposed structure.
Your help is highly highly appreciated.
Thanks in advance. -
For geo-redirects, I do not recommend you use 301 redirects. Browsers can cache these, so if you tell a browser in Canada that example.com should redirect to www.example.com/ca-fr, and later the user changes their language to English, and then tries to go www.example.com, the browser could use that redirect again to go back to the French version without hitting your server. 301 tells the browser that www.example.com ALWAYS (permanently) goes to www.example.com/ca-fr. Page rank isn't really a consideration with these, since Googlebot always comes from the US, so it should never hit these redirects. If example.com always goes to one of the versions via a redirect (i.e. you don't serve content under that root URL), then you do have a bit of problem with redirects. You don't want to 302 Googlebot to another page for your home page, but at the same time, you want to avoid weird redirect behaviors for your customers.
Google can visit the international versions directly without redirects, right? They should have no problem indexing those pages then.
I agree with István, get some local links to your different local versions, register them each with Google Webmaster Tools (and Bing), put up sitemaps for each, and implement the hreflang tags in your sitemaps (or pages). That way Google can easily index each version, and knows exactly what each version is for.
-
Other opinions are highly appreciated, Thanks for everyone in advance.
-
Thanks István Keszeg for your clear and detailed answer.
I still have some questions:
1- redirection will not be for 1 version, but for several pages (ca-en, us-en, uk-en) then would the link juice be divided on these 3 version? put in other words, will that effect our current SEO ranking for the words we are currently ranked for?
2- (point no . 2 in my first post).
Thanks in advance.
-
Hi Marcel,
Let us not forget that in order to be able to rank with your website, you will have to give the possibilities for Search Engines to make 3 steps: 1. Crawl 2. Index 3. Rank
One of the best solutions that I have seen for your case is what Specialized Bikes uses (www.specialized.com
So As I have seen they have an IP sniffing on the main address only: www.specialized.com which will then redirect you to your location's store (for me it is http://www.specialized.com/ro/en/home/ for a person from the US it should be http://www.specialized.com/us/en/home/ and so on for each country which they have specified).
This is good, because then in Google Webmasters Tools they can create separate profiles for each folder: /ro/ /us/ /fr/ etc.
This means that they can still create a sitemap.xml for each of the "stores" and they can submit the sitemaps from Google Webmaster's Tools and avoid crawling issues. (And if you check via proxy different local Google results, you will see that they still rank quite good).
The problem comes with the same language content on different countries where you could:
- insert Hreflang
- get local some nice LOCAL links for both
(at least this is what I would try to do)
Now to respond your question, I quote:
1- which redirect should we use? 301, 302?
A: This wont be a temporary redirect, so be sure to use 301! 302 redirect will retain the "link juice" on the old version. For reference check the following article of Dr. Pete: http://moz.com/learn/seo/http-status-codes
If we choose 301, then which version of the site will get the link juice? (i.e, /ca-en or /us-en?)
A: Depends who do you redirect to.
P.S. As you mentioned you will have duplicate content issue because of us-en and ca-en, which Ideally it shouldn't be a problem:
“Duplicate content and international sites
_Websites that provide content for different regions and in different languages sometimes create content that is the same or similar but available on different URLs. This is generally not a problem as long as the content is for different users in different countries.” _Source: https://support.google.com/webmasters/answer/182192
if we choose 302, then will the link juice remain in the original links? is it healthy to use 302 for long term redirections?
I wouldn't advise you to do so. If it is a permanent redirection, let it be a 301.
So before making the huge step, I would advise you to go through some steps:
- create a full list of incoming links
- Sort your list of links for relevance, quality and geo-location
- Make the change in the URL system
- Start contacting your most important linking partners and kindly ask them to change the old links into the new versions (from example.com to example.com/us/en/ or if it is a French link from Canada then from current version to the example.com/ca/fr/ version and so on)
I know it is really a huge work, but it will grow its fruits.
Good luck!
Istvan
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
-
HSTS Redirects
Hi Are these 307 redirects bad for SEO? They've just popped up on an audit & I haven't seen them before. I'm guessing as they're temporary they should be updated. Thanks Becky
Intermediate & Advanced SEO | | BeckyKey0 -
301 Redirects to relative URLs not absolute a problem?
Hi we recently did a migration and a lot of content changed locations see: https://d.pr/i/RvqI81 Basically, the 301 goes to the correct location but its a relative URL (as you can see from the screenshot) rather than absolute URL. Do you think this is a high priority issue from an SEO standpoint, should we get the developer to change the redirects to absolute? Cheers.
Intermediate & Advanced SEO | | cathywix0 -
Selectively 301 redirects
Hi there: We are developing a pretty typical 301 redirection strategy. We basically are moving blog posts from a former sub-domain to the top level of our new designed site. We've pulled a site crawl of the old sub-domain and want to make sure we redirect any posts with a significant backlink profile to their current counterparts. Most other posts are just going to be redirected to the main 'front door' of our new blog. Is there a way to selectively redirect a certain number of posts and then 'globally' redirect everything else to a single URL? I would assume this would be a pretty common task, but can't find an easy way to do what we want to do.
Intermediate & Advanced SEO | | Daaveey0 -
301 redirecting to anchor points
A client has just given me a list of redirect URLs as requested of them. However, they're wanting to redirect a bunch of pages to various anchor points within the same page. For example: /pages/about might redirect to: /pages/our-story#our-mission And: /pages/history might redirect to: /pages/our-story#history Is there any problem with this? I've never seen or been asked to redirect like this before.
Intermediate & Advanced SEO | | muzzmoz0 -
Soft 404 error for a big, longstanding 301-redirected page
Hi everyone, Years ago, we acquired a website that had essentially 2 prominent homepages - one was like example.com and the other like example.com/htm... They served the same purpose basically, and were both very powerful, like PR7 and often had double listings for important search phrases in Google. Both pages had amassed considerable powerful links to them. About 4 years ago, we decided to 301 redirect the example.com/htm page to our homepage to clean up the user experience on our site and also, we hoped, to make one even stronger page in serps, rather than two less strong pages. Suddenly, in the past couple weeks, this example.com/htm 301-ed page started appearing in our Google Search Console as a soft 404 error. We've never had a soft 404 error before now. I tried marking this as resolved, to see if the error would return or if it was just some kind of temporary blip. The error did return. So my questions are:
Intermediate & Advanced SEO | | Eric_R
1. Why would this be happening after all this time?
2. Is this soft 404 error a signal from Google that we are no longer getting any benefit from link juice funneled to our existing homepage through the example.com/htm 301 redirect? The example.com/htm page still has considerable (albeit old) links pointing to it across the web. We're trying to make sense of this soft 404 observation and any insight would be greatly appreciated. Thanks!
Eric0 -
New Site (redesign) Launched Without 301 Redirects to New Pages - Too Late to Add Redirects?
We recently launched a redesign/redevelopment of a site but failed to put 301 redirects in place for the old URL's. It's been about 2 months. Is it too late to even bother worrying about it at this point? The site has seen a notable decrease in site traffic/visits, perhaps due to this issue. I assume that once the search engines get an error on a URL, it will remove it from displaying in search results after a period of time. I'm just not sure if they will try to re-crawl those old URLs at some point and if so, it may be worth it to have those 301 redirects in place. Thank you.
Intermediate & Advanced SEO | | BrandBuilder0 -
Does 301 Redirect solve many problems?
Hi, there are many problems with my site. I have a lot of duplicate page titles and a lot of missing meta tags. However, I think most of them are BECAUSE i have a lot of duplicate pages. So I have read some articles and I will 301 redirect all the duplicated pages. Will this solve the problem with duplicate titles and missing meta tags as well? For example, my homepage has like 10 duplicated pages. Since they are duplicated, they have the same titles and they are all missing meta tags. I am planning to fill in meta tags JUST for the canonical page and redirect all duplicated pages to that page. Is this a good practice? Also, just curious, do different title tags and different meta tag description make the pages "not duplicated?" I assume it will still appear as duplicated.... Sorry if this was confusing...
Intermediate & Advanced SEO | | waltergah0 -
Any way to find which domains are 301 redirected to competitors' websites?
By looking at the work from an SEO collegue it became clear that his weak linkbuilding graph probably is not the cause for his good rankings for a pretty competitive keyword. (also no social mentions where found) I was wondering what it could be, site structure and other on page optimization factors seems to be ok and I don't think there will be exceptionally good or bad user behavior... Finally I looked at the competitors and found that they have more links, better content en better design, so I got a little stuck. The only reason I can think of is that he is doing 301 redirects (or is rel=canonical tags). Is there a way to trace these redirects back to the source in order to include this important variable in your competitor research? thnx
Intermediate & Advanced SEO | | djingel10