I´m new to kirby and was curious about this CMS and created a new web side on my local environment. All pages work fine. But after copying the installation on my web server (without adding URL to kirby) only the home landing page is working, but no other content page - I only get a 404.
OK… mod rewrite is loaded, but still it´s not working. You wrote, that we have to edit a Apache server config file, to allow overwriting but what do we need to add?
THX
To test if the server is reading the .htaccess file add some garbage string to the file to try to break it. The server should return a “500 Server Error” as soon as you try to load the site.
If this does not happen, the .htaccess file is ignored.
You will need to have the Allow Override directive set in your Apache configuration file:
Depending in your server setup, that can be httpd.conf, a virtual host config file, or a specific site file like default.conf
AllowOverride All
AccessFileName .htaccess
If server is reading the .htaccess file, you might have to set the rewrite base, uncomment this line in .htaccess