Skip to content
Grav 2.0 is officially stable. Read the announcement →
Plugins

Hreflang in Grav

Started by Arthur 6 years ago · 4 replies · 919 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 Mathieu Lecouturier, 1 day ago
0 55 1 day ago
Plugins · by Slebeig, 4 weeks ago
1 272 4 weeks ago
Plugins · by Rene, 2 months ago
2 432 2 months ago
Plugins · by Xavier, 2 months ago
2 345 2 months ago
Plugins · by Luka Prinčič, 7 years ago
3 1568 2 months ago