samedi 21 juillet 2018

Have a separate URL for every language in laravel using one template

last time I created the multilingual templates that have one route and one URL, and I would change the languages through SESSION without changing the URL or change its folder. But later I realized that Google only indexed one language. Which was the default language of the website? This is a problem. Now I want to use URL separately for each language. But I do not want to use two templates. I have an idea, like changing the controllers of any language or the routes of any language, but I do not know, is it executive?

  • If you have a better solution please tell?
  • Is my strategy executive or not? How is it?
  • Is there anyway, Google can handle all language without changing URL?


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire