Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Invalid Security Token when trying to login

Started by dimitar 8 years ago · 0 replies · 1305 views
8 years ago

I've recently moved my grav website from the root hosting folder to a subfolder and adjusted the .htaccess accordingly, based on siteground's suggestions. Once moved, all links had the actual subfolder name showing up. eg. www.domain.com/subfolder/blog instead of www.domain.com/blog. I saw a setting that may resolve this issue in system.yaml called custom_base_url, which I set to be only http://www.domain.com. Now the menu links show up correctly. However, when trying to login to the admin, I get invalid security token. I followed all the suggestions on this page but to no avail.

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by DrPen, 6 days ago
4 117 4 days ago
Installation & Hosting · by vollstock, 3 weeks ago
3 221 3 weeks ago
Installation & Hosting · by David, 7 years ago
3 3508 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
3 345 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
0 269 1 month ago