Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Can the plugins multilang en access used together

33 views
Skip to first unread message

John Bultena

unread,
Jan 3, 2024, 7:00:01 AM1/3/24
to Fat-Free Framework
Hi,

Ik have created a  site with the plugin Acces and want to made this multilanguage. The site work with the Access plug or the Multilang plugin but not combined.  I get then error

Forbidden

HTTP 403 (GET /nl/admin)

but /admin is wotking fine without Multilang and without Access is /nl/admin working fine.

Is it possible to let these plugins work together?

ved

unread,
Jan 3, 2024, 9:51:07 AM1/3/24
to Fat-Free Framework
Hi,

You can make the "/admin" be a global route that will bypass the language in the url so you can always access it without the language.

If you really want to have the language on the url even for the admin page like "/lang/admin" then you'll probably need to adjust your f3-access rules to allow the language slug on the url. 
I'm guessing something like:

allow /*/admin= superuser

Hope it helps. 
Cheers
Reply all
Reply to author
Forward
0 new messages