---
title: 'Hreflang in Grav'
url: 'https://getgrav.org/forum/plugins/hreflang-in-grav-t6053'
markdown: 'https://getgrav.org/forum/plugins/hreflang-in-grav-t6053.md'
date: '2026-06-21'
description: 'Hello, Is there a way to integrate several language on the website and help Google/Bing/DuckduckGo understand all the different version thanks to hreflang tag'
---

[Plugins](https://getgrav.org/forum/plugins)

#  Hreflang in Grav 

  Started by Arthur 6 years ago · 4 replies · 1108 views    

 [6 years ago](https://getgrav.org/forum/plugins/hreflang-in-grav-t6053#post-28834 "Permalink") 

Hello,

Is there a way to integrate several language on the website and help Google/Bing/DuckduckGo understand all the different version thanks to hreflang tag and the rel=

I have done that on HTML, on Wordpress website ... but here, I do not know where to or even which plu-ing/add-on to use.

Thanks everyone
Arthur

 [6 years ago](https://getgrav.org/forum/plugins/hreflang-in-grav-t6053#post-28872 "Permalink") 

I use Language Selector plugin instead of LangSwitcher and it comes with an optional template for hreflang, you just add it to your base page and it does the job:
<https://github.com/clemdesign/grav-plugin-language-selector>

EDIT:
Just checked and even the standard LangSwitcher has the same functionality:
<https://github.com/getgrav/grav-plugin-langswitcher>

 👍 1 

 1 reply 

- [ ArthurThanks a lot @filo91 , did not knew these exist. I will follow and see if it fits my needs… ](https://getgrav.org/forum/plugins/hreflang-in-grav-t6053#post-29105)

 [6 years ago](https://getgrav.org/forum/plugins/hreflang-in-grav-t6053#post-28905 "Permalink") 

There remain some issues with both, on reflang and sitemaps: [see on Github](https://github.com/clemdesign/grav-plugin-language-selector/issues/11)

 1 reply 

- [ ArthurOkay, thanks @red, I will also check that! ](https://getgrav.org/forum/plugins/hreflang-in-grav-t6053#post-29106)

 [6 years ago](https://getgrav.org/forum/plugins/hreflang-in-grav-t6053#post-29105 "Permalink") [ Filippo Masoni I use Language Selector plugin instead of LangSwitcher and it comes with an optional templ… ](https://getgrav.org/forum/plugins/hreflang-in-grav-t6053#post-28872 "In reply to Filippo Masoni") 

Thanks a lot @filo91 , did not knew these exist. I will follow and see if it fits my needs.

 [6 years ago](https://getgrav.org/forum/plugins/hreflang-in-grav-t6053#post-29106 "Permalink") [ Thomas There remain some issues with both, on reflang and sitemaps: see on Github ](https://getgrav.org/forum/plugins/hreflang-in-grav-t6053#post-28905 "In reply to Thomas") 

Okay, thanks @red, I will also check that!

[Log in](https://getgrav.org/login?return=%2Fforum%2Fplugins%2Fhreflang-in-grav-t6053) to reply.

###  Suggested topics

 | Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| [grav-mcp update\_page sends lang in the body instead of the query string, so non-default languages are never updated](https://getgrav.org/forum/plugins/grav-mcp-update-page-sends-lang-in-the-body-instead-of-the-query-string-so-non-default-languages-are-never-updated-t9469)    [Plugins](https://getgrav.org/forum/plugins) · by renedebaaij, 2 days ago |  | 0 | 36 | [2 days ago](https://getgrav.org/forum/plugins/grav-mcp-update-page-sends-lang-in-the-body-instead-of-the-query-string-so-non-default-languages-are-never-updated-t9469 "by renedebaaij") |
| [How to clone a flex object in twig](https://getgrav.org/forum/plugins/how-to-clone-a-flex-object-in-twig-t9438)    [Plugins](https://getgrav.org/forum/plugins) · by complanar, 3 weeks ago |  | 6 | 389 | [2 weeks ago](https://getgrav.org/forum/plugins/how-to-clone-a-flex-object-in-twig-t9438 "by complanar") |
| [Integration of GRAV articles into my principal website](https://getgrav.org/forum/plugins/integration-of-grav-articles-into-my-principal-website-t9440)    [Plugins](https://getgrav.org/forum/plugins) · by BenLaKnet, 2 weeks ago |  | 1 | 208 | [2 weeks ago](https://getgrav.org/forum/plugins/integration-of-grav-articles-into-my-principal-website-t9440 "by BenLaKnet") |
| [How to restrict access of admin users to certain subpages](https://getgrav.org/forum/plugins/how-to-restrict-access-of-admin-users-to-certain-subpages-t9416)    [Plugins](https://getgrav.org/forum/plugins) · by complanar, 1 month ago |  | 2 | 482 | [4 weeks ago](https://getgrav.org/forum/plugins/how-to-restrict-access-of-admin-users-to-certain-subpages-t9416 "by complanar") |
| [Clearing of the page content while editing in admin plugin in the Grav 2.0](https://getgrav.org/forum/plugins/clearing-of-the-page-content-while-editing-in-admin-plugin-in-the-grav-2-0-t9394)    [Plugins](https://getgrav.org/forum/plugins) · by Vladimir Novak, 2 months ago |  | 3 | 761 | [2 months ago](https://getgrav.org/forum/plugins/clearing-of-the-page-content-while-editing-in-admin-plugin-in-the-grav-2-0-t9394 "by pamtbaau") |
