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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Plugins

Private Area redirect after login in multilanguage sites

Started by Pedro M 5 years ago · 0 replies · 510 views
5 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 Rene, 1 week ago
2 75 1 week ago
Plugins · by Xavier, 4 weeks ago
2 81 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1208 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 74 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 99 2 months ago