Skip to content
Grav 2.0 is officially stable. Read the announcement →
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 · 4002 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, 2 months ago
8 778 2 months ago
Installation & Hosting · by Jürgen Dietrich, 9 months ago
0 479 9 months ago
Installation & Hosting · by rappluk, 10 months ago
0 532 10 months ago
Installation & Hosting · by N, 1 year ago
3 444 1 year ago
Installation & Hosting · by Youle, 1 year ago
1 371 1 year ago