I transferred a whole Kirby installation (including all the content files etc.) to another server/webhost.
Unfortunately now I’m getting an error 500 on every folder or image URL that contains a subfolder. For example: http://www.example.com/projects
The home page/home folder works though. The panel not.
The website is running from a subfolder; I adjusted the Kirby default .htaccess file accordingly. The PHP version is also up to date. Also the cache is empty, since there’s no cache folder.
I read a lot of the error 500 threads on the forum, however I couldn’t find a solution. Any ideas would be welcome!
That sounds as if url rewriting is not enabled on the server, or the .htaccess is ignored or the RewriteBase is not set correctly.
phpinfo() if rewriting is enabled.
According to the web hosting company (domainfactory), it should be enabled, however it doesn’t show up on the phpinfo page. Could be that all the modules are not showing up in the phpinfo.
Have you set the RewriteBase in your
.htaccess? And what have you set it to?
Well, if you pointed your domain to the subfolder, then in relation to the domain, it should be just
/(if you have to set the RewriteBase at all).
Lol, my bad. That’s it!
Thanks for your swift response as usual, texnixe.