Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Private Area redirect after login in multilanguage sites

Started by Pedro M 6 years ago · 0 replies · 650 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 renedebaaij, 2 days ago
0 36 2 days ago
Plugins · by complanar, 3 weeks ago
6 387 2 weeks ago
Plugins · by BenLaKnet, 2 weeks ago
1 206 2 weeks ago
Plugins · by complanar, 1 month ago
2 480 4 weeks ago
Plugins · by Vladimir Novak, 2 months ago
3 760 2 months ago