B
B
blabs2016-03-07 15:13:43
CMS
blabs, 2016-03-07 15:13:43

How to redirect to 404 page if page doesn't exist via htaccess?

How to redirect to 404 page if page doesn't exist via htaccess?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2016-03-09
@shambler81

If you need to make a banal 404 then really ErrorDocument 404 /404.html
If you need to include this in RewriteCond %{REQUEST_URI}
then no way. Only in nginx. Yes, and that is a dubious pleasure.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question