Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Install Grav in a subfolder

Started by Muut Archive 11 years ago · 35 replies · 3187 views
11 years ago

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?

11 years ago

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.

11 years ago

Meaning ? You just have to place Grav files to a folder on my hosting?

11 years ago

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! :-)

11 years ago

To acces the admin-plugin just browse to (example) www.your-path-to-the-grav-folder.com/admin

11 years ago

I'll go try her :) Thank you very much for your help!

11 years ago

You're welcome! Just to summarize:
1) download a skeleton (recommendation: GRAV + Admin Plugin)
2) extract the files to somewhere on your pc
3) make your config to the admin-plugin as described in the admin-plugins-site
4) copy all files to your FTP in the root-directory or a subfolder
5) 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
7) enjoy the best cms in the world :-)

11 years ago

You can not access the site in the way: mywebsite.com/grav?

11 years ago

The skeletons are a good way to learn, since they are packed full with demo-content.

11 years ago

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.

11 years ago

And remember one thing: when markdown doesn`t fit your needs, GRAV fully supports plain HTML!

11 years ago

I have compared different skeletons locally on my computer, the problem was to transfer the files to my FTP :)

11 years ago

What code do you get? I use Filezilla, never had any problems.

11 years ago

The problem did not come from FileZilla but my accommodation: I got a 500 error or a blank page

11 years ago

It must be configured with chmod FileZilla?

11 years ago

just right-click on the .htaccess, choose "permissions (Dateiberechtigungen in german) and set the value to 777. For me it works with 644.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1343 9 years ago
Archive · by Muut Archive, 9 years ago
2 930 9 years ago
Archive · by Muut Archive, 9 years ago
2 4058 9 years ago
Archive · by Muut Archive, 9 years ago
1 2943 9 years ago
Archive · by Muut Archive, 9 years ago
3 1116 9 years ago