Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Installation & Hosting

Invalid Security Token when trying to login

Started by dimitar 8 years ago · 0 replies · 1006 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 antoinep, 15 hours ago
5 61 9 hours ago
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 63 7 months ago
Installation & Hosting · by rappluk, 8 months ago
0 62 8 months ago
Installation & Hosting · by N, 12 months ago
3 73 12 months ago
Installation & Hosting · by Youle, 1 year ago
1 62 1 year ago