Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Hreflang in Grav

Started by Arthur 6 years ago · 4 replies · 1071 views
6 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

6 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 complanar, 6 days ago
6 267 2 days ago
Plugins · by BenLaKnet, 3 days ago
1 98 3 days ago
Plugins · by complanar, 4 weeks ago
2 415 3 weeks ago
Plugins · by Vladimir Novak, 2 months ago
3 706 2 months ago
Plugins · by Mathieu Lecouturier, 2 months ago
3 546 2 months ago