Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Private Area redirect after login in multilanguage sites

Started by Pedro M 6 years ago · 0 replies · 720 views
6 years ago

Hello there.

I'm trying to configure a new private area to access to the form for add posts to blog. I have configured my site with multilanguage support and the pages add automatically /es or /en after the page name.

With login plugin, when I've logged the page showed is www.mysite.es/es/es/formpage instead www.mysite.es/es/formpage. I've added in formpage.md:

YAML
redirect_after_login: true
login_redirect_here: false
route_after_login: 'formpage'

Also I've tried:

YAML
redirect_after_login: true
login_redirect_here: false
route_after_login: '{{home_url}}/formpage'

I have not been able to correctly access the page with this configuration.

Can someone help me with this issue.
Thanks.

Suggested topics

Topic Participants Replies Views Activity
Plugins · by DrPen, 1 month ago
2 478 1 month ago
Plugins · by renedebaaij, 2 months ago
1 351 1 month ago
Plugins · by Thomas, 1 month ago
1 375 1 month ago
Plugins · by complanar, 2 months ago
6 699 2 months ago
Plugins · by BenLaKnet, 2 months ago
1 642 2 months ago