Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Hreflang in Grav

Started by Arthur 7 years ago · 4 replies · 1286 views
7 years ago

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

7 years ago

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

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Cédric, 2 years ago
4 537 2 days ago
Plugins · by DrPen, 1 month ago
2 512 1 month ago
Plugins · by renedebaaij, 2 months ago
1 385 1 month ago
Plugins · by Thomas, 2 months ago
1 403 1 month ago
Plugins · by complanar, 2 months ago
6 731 2 months ago