This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

whono1knows26663
whono1knows26663

Hello! I want to have trailing slash redirect for my project so I use .htaccess RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*[^/])$ /$1/ [L,R] It works fine in the backend and frontend except the login page to the backend. It looks like the form is submited to default url "http://whitebird.test/backend/backend/auth/signin" and if it doesn't have the "/" in the end it goes to "http://whitebird.test/backend/backend/auth/signin/" and authorization never happens ((( If you manually edit html in browser and fix the link it works well. I've failed to find the way to edit the link through backend files, but I found the signin.htm. There was no way to alter the link but I decided to go a stupid way and wrote a jq script to update action url of the form. It's working fine now but I think that's not the best way to do it ))) Any suggestions?

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.