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

Private Area redirect after login in multilanguage sites

Started by Pedro M 6 years ago · 0 replies · 623 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 complanar, 2 weeks ago
2 250 4 days ago
Plugins · by Vladimir Novak, 1 month ago
3 594 1 month ago
Plugins · by Mathieu Lecouturier, 2 months ago
3 417 2 months ago
Plugins · by Slebeig, 2 months ago
1 530 2 months ago
Plugins · by Rene, 3 months ago
2 731 3 months ago