You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just wanted to post this as a solution for others with same issue.
If you get an 404 after a form is submitted, check if the url after submission contains index.php?p= or not.
With my setup, it was even though I had my .htaccess configured not to use it.
On another site I had exactly the same config and there it was working without an issue, so I compared every used file, but couldn't find any mismathc.
So while searching the Issues here and not getting my answer I've found another hint in Craft CMS forums with a similar behavior on a {{craft.request.url()}}.
In /craft/config/general.php, define next in the array: 'omitScriptNameInUrls' => true,
That should solve it then.
Cheers,
Eric
The text was updated successfully, but these errors were encountered:
Hi,
Just wanted to post this as a solution for others with same issue.
If you get an 404 after a form is submitted, check if the url after submission contains index.php?p= or not.
With my setup, it was even though I had my .htaccess configured not to use it.
On another site I had exactly the same config and there it was working without an issue, so I compared every used file, but couldn't find any mismathc.
So while searching the Issues here and not getting my answer I've found another hint in Craft CMS forums with a similar behavior on a {{craft.request.url()}}.
In /craft/config/general.php, define next in the array: 'omitScriptNameInUrls' => true,
That should solve it then.
Cheers,
Eric
The text was updated successfully, but these errors were encountered: