Admin login page keeps reloading after custom_base_url change

Hi there,

I have grav setup in a sub-folder and it was working fine when used via an IP address.

I have now setup DNS and I can access the front end with no problems, but when I try to login to the admin panel, the login just refreshes with no error message. I’ve tried with two users. The Forgot Password routine also just goes back to the admin panel with no reset email sent (I’m not sure if that’s connected).

I changed custom_base_url via the admin panel (when I could access it) to point to the root of the domain. I’ve also changed it within config/system.yaml.

I’ve also changed session path to /

I’ve added the following to .htaccess at the root of the domain:

Options -Indexes

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://egliseriverside.fr/$1 [R,L]

RewriteEngine On
RewriteCond %{REQUEST_URI} !^/grav/
RewriteRule ^(.*)$ /grav/$1

I’ve cleared all the caches.

Thanks for any help!

Mark