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

Ignore language path in link even if you are on language version of the site

Started by Muut Archive 10 years ago · 3 replies · 373 views
10 years ago

What I want to achieve is even if the user is on japanese version of my Grave site mysite.com/ja/when he click a link in navigation that leads to forum, it will take him to mysite.com/forum/ not mysite.com/ja/forum.

10 years ago

@rhukster but whether I have this enabled to false or true, if user is on language other than English, in my case - Japanese (/ja/) which is not a primary language, but one of secondary languages I use on site, clicking at link will take him to mysite.com/ja/[urlpath] rather than mysite.com/[urlpath].

10 years ago

That's how Grav knows what language you want.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1368 9 years ago
Archive · by Muut Archive, 9 years ago
2 940 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2960 9 years ago
Archive · by Muut Archive, 9 years ago
3 1125 9 years ago