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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Installation & Hosting

Error 404 in localhost after download site from server

Solved by Pedro M View solution

Started by Pedro M 6 years ago · 1 replies · 3711 views
6 years ago

Hello there,

First of all, I've developed my website in my local server (linux), and then I've uploaded to server in Hostinger provider. Finally, I've downloaded that same website to my computer, again, and I can access to localhost/mysite, but I can't access to pages with routes, for example, the blog page. When I want to visit localhost/mysite/blog the system shows me the 404 error.

I've configured the permissions in my /var/www/html/mysite, following the steps from the https://learn.getgrav.org/16/troubleshooting/permissions, but it doesn't work.

The same happens with the localhost/mysite/admin, to access admin panel. I can't access to it either.

I've cleaned cache too.

Can anyone give me some advice for this trouble?

Thanks so much.

last edited 02/22/20 by Pedro M
6 years ago Solution

Sorry everybody.

I've changed my local server to other computer and my apache configuration was wrong. I've followed the indications in FAQ , and I had to change the directive AllowOverride None, to AllowOverride All.

That's all. Thanks.

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by antoinep, 16 hours ago
5 62 10 hours ago
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 63 7 months ago
Installation & Hosting · by rappluk, 8 months ago
0 63 8 months ago
Installation & Hosting · by N, 12 months ago
3 74 12 months ago
Installation & Hosting · by Youle, 1 year ago
1 62 1 year ago