Mobile app version of vmapp.org
Login or Join
Jessie594

: SEO- IP-based Language Change I have a site,The site have lot of visitors from international.The site content currently in English.I want to change language dynamically by using PHP code,this done

@Jessie594

Posted in: #IpAddress #Seo #WebDevelopment

I have a site,The site have lot of visitors from international.The site content currently in English.I want to change language dynamically by using PHP code,this done based on the requesting IP address. If the IP address is in US Countries, in server side automatically detect loading language as English.
Is this method good for SEO?
Is there any alternative solution for this?,Please suggest me.

Thanks in Advance.

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Jessie594

3 Comments

Sorted by latest first Latest Oldest Best

 

@Welton855

Google generally recommends not to use IP-location as a way of automatically redirecting users to their preferred version:


To make all of your site's content more crawlable, avoid automatic
redirections based on the user's perceived language. These
redirections could prevent users (and search engines) from viewing all
the versions of your site.


Keep in mind that Google - and most other search engines - generally crawl from a single location, so any automatic redirect will lock them into a specific part of your website. On the other hand, if you have separate URLs for all language versions of your site that do not automatically redirect, then search engines will generally be able to crawl and index all versions of the website. It's fine to suggest a specific version to users (say with a JavaScript overlay or "butter-bar"), then those users will be able to reach those language versions faster, but you would not be forcing them.

10% popularity Vote Up Vote Down


 

@Bryan171

I think you have a lot of solutions to do what you want but the one you said has a little issue (like many other solutions). Infact, think to the follow situation: A man who is english is connected from France. Now your website is going to redirect him to the french version but it should redirect the user to the us/en version. So he (and many others users) will be confused and a little bit bored by this situation.

10% popularity Vote Up Vote Down


 

@XinRu657

I want to change language dynamically by using PHP code,this done
based on the requesting IP address.


Please avoid automatic language detection based upon origin IP or, if you insist upon using this technique, make it easy for users to select a different language - you will inevitably find that some of your users' IP addresses do not accurately indicate the language which they prefer to use.

The Accept-Language header provided by the user's browser is a better choice for language selection.


Is this method good for SEO?


The goal of any optimization efforts should be to make one's site easy for search engines (as well as visitors) to retrieve and parse; introducing a potential inconsistency would not be advisable.

Ideally, your site will reflect a 1:1 URI:content mapping to allow search engine spiders (which will not set cookies or reliably use a specific IP address) to associate each language's set of URI's with the content specific to the language.

Related questions:


How can I get search engines to crawl my site and see a localised view of my data?
When selecting the language of a web page solely with content negotiation, will a search engine ever see different languages?

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme