php - best SEO header status to redirect index for user languages -


i have multi-language site

www.sooran.com food.sooran.com/en/      // global food.sooran.com/fa/      // persian user 

first page of site(index.php) designed based on ip redirects user's language

but late in search engines have reduced 10 times.

to mind should use header location

don't

just don't redirect users.

if user coming persia , wanna see en version won't able to?

as google says: "let user chooses". did article way design homepage international users: http://googlewebmastercentral.blogspot.fr/2014/05/creating-right-homepage-for-your.html

moreover, redirect based on ip dangerous. google not have spiders in whole countries in world might not see different behaviors.

if have : 302 redirect

(client force or not understand users hate redirected or ...)

use http 302 status redirect.

why ? because 302 means both urls exist. google keep both url indexed.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -