Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

How to redirect to 404 page if page don't exist

Started by Matt 9 years ago · 0 replies · 1510 views
9 years ago

I created error page, I have error.html.twig file. My address is
http://localhost/GRAV/ when I type http://localhost/GRAV/loremipsum I should see 404 page but instead I see my home page which have broken css. How Can I redirect to 404?

@edit, nevermind, working now 😃

last edited 10/05/17 by Matt

Suggested topics

Topic Participants Replies Views Activity
General · by themetman, 23 hours ago
2 40 16 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago