Hello ! I would like to install Grav in a subfolder of my website (my host is olympe.in), but I always get a blank page and/or an error 500. In reading the documentation, I noticed that CMS had to put the files in the webroot. But what the webroot exactly? Is it still possible to install Grav in a subfolder?
Yes it is, Just link your domain (or subdomain) to the folder, grav is installed in. E.g. if you install grav to /wwwroot/user/my-grav-page/ then you have to point your domain (or subdomain) directly to this directory.
Meaning ? You just have to place Grav files to a folder on my hosting?
If you use a skeleton, then yes. Just copy all files within a skeleton to a folder on your FTP and you should be fine. The index.php is already in there!
I’ll go try her Thank you very much for your help!
You’re welcome! Just to summarize:
- download a skeleton (recommendation: GRAV + Admin Plugin)
- extract the files to somewhere on your pc
- make your config to the admin-plugin as described in the admin-plugins-site
- copy all files to your FTP in the root-directory or a subfolder
- point your domain or subdomain to that folder
6a) access your page by www.your-path-to-the-grav-folder.com
6b) access the admin-page by www.your-path-to-the-grav-folder.com/admin - enjoy the best cms in the world
Of course you can.
Okay, thank you !
The skeletons are a good way to learn, since they are packed full with demo-content.
Okay, thank you board!
In my beginning with grav I used to download multiple skeletons just to compare the features. This could be then like this:
mywebsite.com/antimatter
mywebsite.com/sora
mywebsite.com/twenty
and so on.
And remember one thing: when markdown doesn`t fit your needs, GRAV fully supports plain HTML!
I have compared different skeletons locally on my computer, the problem was to transfer the files to my FTP
I always get an error code
What code do you get? I use Filezilla, never had any problems.
The problem did not come from FileZilla but my accommodation: I got a 500 error or a blank page
It must be configured with chmod FileZilla?
just right-click on the .htaccess, choose "permissions (Dateiberechtigungen in german) and set the value to 777. For me it works with 644.