Mobile app version of vmapp.org
Login or Join
Hamm4606531

: Should I use 301 or 302 for location-based redirects? I'm setting up geo-redirects for my site and am unsure which redirect type to use. I've read many articles on this subject, but still do

@Hamm4606531

Posted in: #301Redirect #302Redirect #Geotargeting #Redirects #Seo

I'm setting up geo-redirects for my site and am unsure which redirect type to use. I've read many articles on this subject, but still do not have a clear answer.

Here's the plan:


Visitor lands on our homepage: example.com System recognizes user's IP location
301 or 302 redirect? <--- not sure which one
User lands on the correct page (/en-us in USA, /en-ca in Canada, /en-au in Australia, etc.)


Step 3 is where I'm confused. I know I need to redirect them, but is a 301 redirect or 302 redirect better in this case?

I'd like to rank each of these pages in their specific countries / cities. To provide some more context, check out specialized.com. If you search for "Specialized bikes" in Google, specialized.com ranks as number one. If you land on it you are automatically redirected to the appropriate location. However, if you search for "specialized bikes australia" then specialized.com/au/en-au/ is the page that ranks... no redirection needed. This is the same setup I'm looking for.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamm4606531

1 Comments

Sorted by latest first Latest Oldest Best

 

@Ogunnowo487

As Stephen points out in comments, geo-IP redirects are generally bad for SEO (it prohibits the site from being crawled naturally and can at times hinder users through being redirected incorrectly). However, specialized bikes would appear to get around the SEO issues with sitemaps containing the different language versions (hreflang). (And only redirecting when no locale is included in the URL.)


301 or 302 redirect?


The referenced site would appear to use a 301 (permanent) redirect. 301s are cached hard by the browser. Once redirected; always redirected (from cache). This can result in marginally less traffic from repeat visitors.

However, I would tend to go for a 302 (temporary) redirect - which is not cached - for the following reasons:


A 301 is a one-way trip. If you needed to change your geo-ip-redirect-logic then it's a struggle. Users who have already visited your site might still get redirected the old way.
Users are not necessarily stationary. Mobile/tablet/laptop users can travel between regions, but a 301 redirect can tie them to the first region in which they visited the site.
A geo-IP redirect is not necessarily permanent.


A 302 would not suffer these "problems" (albeit "edge cases").

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme