I keep discovering Kirby and it’s awesome ! Great job !
I’m working on localhost using MAMP. The root URL (http://localhost:8888/ymf/) doesn’t work. I need to write directly the URL to the home page (http://localhost:8888/ymf/accueil). How can I set the root URL to be linked with the homepage ?
By the way, to put my website online, eg on OVH, will I only need to copy-paste my folder to the server ?
Yes the complete Kirby 3 project is located in a folder called /ymf.
No I didn’t set the home page to accueil. I don’t know how to do it.
I started from the plainkit-master and I didn’t add any .htaccess file so if it doesn’t exist in the plainkit-master I think I don’t have any in that project. But I don’t know where to search it.
But the plainkit comes with a .htaccess file on board. Maybe you don’t see it because files starting with a dot are usually not visible in the filesystem? You can toggle there visibility with CMD + Shift + .
In most cases, you can leave it untouched. In some environments it might be necessary to set the RewriteBase, but as I said, I never had to make any changes to .htaccess in a MAMP environment.
But if Kirby doesn’t work in your setting, then we have to dig deeper. What PHP version is used in your MAMP enviroment?
Kirby works perfectly. I didn’t expressed myself very clearly. That’s only a problem of URL. I would like the main URL (http://localhost:8888/ymf/) to bring directly to http://localhost:8888/ymf/accueil. In other words, I would like ‘accueil’ to be the home page but I don’t know how to set de default home page.