Redirect based on country

Redirect based on country - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Redirect based on country error on your web browser. Problem :


Let's say I have a site that has multiple versions for different countries, e.g.:



www.example.com/us
www.example.com/uk
www.example.com/ca


and I want to use IP geolocation to redirect users who go to www.example.com to the appropriate country version of the site. What is the best way to do that without confusing crawlers such as Googlebot or running into other SEO type trouble?


Solution :

Google Webmaster Central has a great blog post discussing this topic: http://googlewebmastercentral.blogspot.com/2010/03/working-with-multi-regional-websites.html



Since your site appears to serve country-specific information at different URLs, you could provide a sitemap to help search engines discover them all. Just make sure you don't block access to any countries due to the assumptions you make based on IP. Always give the user (or in this case, Web crawler) the option to choose a different country.



You will run into SEO issues because crawler IPs will likely get detected as being from US and won't be able to see the other parts of the website, unless they're linked to somewhere on your website, in which case they will be indexed.



Another idea to consider would be offering a world map or something similar, and letting the user choose for himself and remember his choice through a cookie?


We hope that this article has helped you resolve the seo, redirects, internationalization error in your web browsers. Enjoy browsing the internet uninterrupted!

Comments

Popular posts from this blog

How to redirect to any domain [duplicate]

"302 found" for index page bad for SEO?

Create redirect from url like www.example.us/?p=100&option=