-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 error not found since 1.1.4 #23
Comments
I'm guessing that Does |
Hi Clark! We use the standard Craft directory structure:
All these URLs work:
This URL doesn't work:
It returns a 404 error since For the majority of users using multi sites, I believe the current way the URL is generated won't work. It may only works if this website is configured like this: https://craftcms.stackexchange.com/a/23764. I believe this is what @desaulniers13 did, and why he had problems in the first place. @desaulniers13 Can you confirm, and try this version of the code and see if it works with your configuration?
|
Can you pull down |
please respond if still an issue |
We have a multiple site configuration using only one root index.php (directly in the web directory). Since updating to 1.1.4, the csrfToken request returns a 404 error.
http://arto-galleria.test/en/index.php?p=actions/users/session-info&dontExtendSession=1
returns 404 since there's no /en/index.php file.These URLs are working however:
http://arto-galleria.test/index.php?p=actions/users/session-info&dontExtendSession=1
http://arto-galleria.test/actions/users/session-info?dontExtendSession=1
http://arto-galleria.test/en/actions/users/session-info?dontExtendSession=1
I propose using :
{{currentSite.baseUrl}}/{{ craft.app.config.general.cpTrigger }}/{{ craft.app.config.general.actionTrigger }}/users/session-info?dontExtendSession=1
Instead of
{{currentSite.baseUrl}}index.php?p={{ craft.app.config.general.cpTrigger }}/{{ craft.app.config.general.actionTrigger }}/users/session-info&dontExtendSession=1
The text was updated successfully, but these errors were encountered: