01 Jan

htaccess Icon Logo

Changing default error pages with htaccess

Nice little trick for replacing the default error pages that can appear on your server. Just add this to your .htaccess file.

ErrorDocument 401 /err/401.php
ErrorDocument 403 /err/403.php
ErrorDocument 404 /err/404.php
Posted in: < Website Server >
me@grafxflow avatar


I am a Full-stack Developer who also started delving into the world of UX/UI Design a few years back. I blog and tweet to hopefully share a little bit of knowledge that can help others around the web. Thanks for stopping by!

Visitors also viewed these posts

Add comment

Add comment