Mobile app version of vmapp.org
Login or Join
Kevin317

: SEO & Multilingual: would be this a good practise? I am currently making a bilingual website and I'd like to get nice SEO results of course. Here's my idea: The internal links would be composed

@Kevin317

Posted in: #BestPractices #Internationalization #Language #Php #Seo

I am currently making a bilingual website and I'd like to get nice SEO results of course.

Here's my idea:

The internal links would be composed of the "www" subdomain so that people can share links regardless of their language. Anyway, their language is determined by the HTTP_ACCEPT_LANGUAGE PHP variable.

So, they would see site.com/mydocument/123 in their adress bar and never see any links like "http:// fr.site.com/mydocument/123" or "http://en.site.com/mydocument/123"

The user can always switch the page's language thanks to links in the footer.
The switching language link would be : fr.site.com/mydocument/123 , and clicking on it would change his language session and redirects the user to site.com/mydocument/123
In case of a crawling bot:

I read that if the HTTP_USER_LANGUAGE variable was missing then it's a crawling bot.

So, in that case, we set the defaut language as English. Each page, as I mentionned earlier, has a link for another language:
On the page: site.com/document/1323, the link fr.site.com/document/1323 can be seen by the bot and be crawled.


What do you think about this practise ?
Would I get good SEO results for each language ?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Kevin317

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sarah324

The best practices are often the simplest practices (particularly when there are many different systems involved) - maintaining session data for every visitor and redirecting behind the scenes isn't very simple.

For SEO: Search engines will automatically return results in the language which matches the user's language preferences and search terms, and users will have the same option to switch their language by navigating to a different subdomain without any redirects.

For link sharing: set up your redirect script at site.com and provide the language-based redirect links for anyone who wants to use them, but don't force anyone (or any search engine spiders) to use them.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme