Grav at the root directory

Whenever I’m trying to install Grav at any of the website root like, it’s not starting up, it fails to redirect to Admin or Content pages. But if I just move the same installation in a sub-folder location like, or domainname/anyname/ it works perfectly. What do I need to do to solve the problem?

Hi, thanks for your question.

Could you tell us what “not starting up” means? What are you seeing in your browser exactly?

It’s probably your web server configuration. Could you post here the relevant snippets or details of your webserver?


When ever the Grav files and folders are placed at the web root, and I want to access it from my browser, the browser gets forwarded to website/en if I’m using any of the skeletons, or website/admin if I’m using the Grav Core + Admin Plugin. Then it shoes a 404 Not Found,

Not Found
The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

But if it’s placed in any of the sub folder, all your Skeleton, or Core+Admin Plugin works perfectly.

It’s Linux host, with PHP 7.3.