K
K
khipster2016-03-19 13:08:00
Design
khipster, 2016-03-19 13:08:00

What error pages other than 404 should a web developer create?

I just came across this example of a .htaccess file :
ErrorDocument 404 htaccess.net.ru/error/404.shtml .net.ru/error/500.shtml

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valery, 2016-03-19
@supervaleha

I always make a 404 mandatory and a "Damn, something went wrong" page. Well, 403 is still possible with the requirement to log in.
The user should not, in principle, know what happened - a server or database error, or something else. So that there was no temptation to start breaking further.
And we must log ourselves and separate them by error codes in order to make changes in a timely manner.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question