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

Private Area redirect after login in multilanguage sites

Started by Pedro M 6 years ago · 0 replies · 582 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 Vladimir Novak, 2 weeks ago
3 293 2 weeks ago
Plugins · by Mathieu Lecouturier, 3 weeks ago
3 277 3 weeks ago
Plugins · by Slebeig, 2 months ago
1 403 2 months ago
Plugins · by Rene, 2 months ago
2 574 2 months ago
Plugins · by Xavier, 3 months ago
2 490 3 months ago