Mobile app version of vmapp.org
Login or Join
LarsenBagley505

: Redirecting visitors to a rel=alternate page - permanent or temporary? We are rebuilding our travel site to have both en-US and en versions, storing the language/region code in the url as a

@LarsenBagley505

Posted in: #Redirects #RelAlternate #Seo

We are rebuilding our travel site to have both en-US and en versions, storing the language/region code in the url as a subfolder. Eg:
domain.com/africa/botswana (hreflang="x-default") domain.com/en/africa/botswana (hreflang="en") domain.com/en-US/africa/botswana (hreflang="en-US")


All pages will be available in all three versions. A visitor landing on the x-default url will have their origin detected via geoip and be redirected to one of the language/region-specific urls.

We plan on offering a site selector (flag dropdown) on each page to let a visitor override the detected origin - this will drop a cookie to remember the preference.

When a visitor does land on a non-specific url and is redirected, should this be a permanent (301) or temporary (302) redirect?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @LarsenBagley505

1 Comments

Sorted by latest first Latest Oldest Best

 

@Alves908

I'd be careful using 301 Moved Permanently if the original URIs are still valid. You risk search engines will unindex them and reindex your site with the redirected URIs only.

I'd rather consider 302 Found or the 307 Temporary Redirect (These are HTTP 1.1). After all that's what you're doing - redirecting this current user temporarily as he requests another translation.

In addition would consider specifying the canonical URLs to avoid duplicate content issues.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme