When set up in a subfolder in my host, $site->url() apparently returns https://mysite.com/starterkit when I’m not logged in, and https://mysite.com when I am (and break assets and links and prevent me from seeing the admin panel).
How is this value generated? I am trying to hone in on the server variable or logic that’s generating the errant value so I can fix it.
The problem is manually setting base url doesn’t work.
I have my config.php set to 'url' => '/_dev/starterkit'
home.css is broken as it’s trying to look for Request URL: https://my site.com/_dev/starterkit/_dev/starterkit/assets/css/templates/home.css.
Can’t log into panel as it give me JSON parsing error, which I suspect is also caused by the base url somehow doubled up somewhere.
I know it has to do with my hosting setup because my previous host is fine, which is why I’m trying to troubleshoot it myself since my hosting support is telling me go to the CMS support while Kirby works fine for everyone else and my own previous host.