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

Hreflang in Grav

Started by Arthur 6 years ago · 4 replies · 969 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 Vladimir Novak, 2 weeks ago
3 291 2 weeks ago
Plugins · by Mathieu Lecouturier, 3 weeks ago
3 277 3 weeks ago
Plugins · by Slebeig, 2 months ago
1 403 2 months ago
Plugins · by Rene, 2 months ago
2 574 2 months ago
Plugins · by Xavier, 3 months ago
2 490 3 months ago