Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Hreflang in Grav

Started by Arthur 6 years ago · 4 replies · 1014 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, 5 days ago
0 118 5 days ago
Plugins · by Vladimir Novak, 1 month ago
3 581 1 month ago
Plugins · by Mathieu Lecouturier, 1 month ago
3 394 1 month ago
Plugins · by Slebeig, 2 months ago
1 510 2 months ago
Plugins · by Rene, 3 months ago
2 704 3 months ago