Creating a Custom Error Page


/ Published in: Apache
Save to your folder(s)

Are you as tired as me of the default layout of 404 error pages? Well now you can easily create your own and refer to it like this:


Copy this code and paste it in your HTML
  1. ErrorDocument 401 /error/401.php
  2. ErrorDocument 403 /error/403.php
  3. ErrorDocument 404 /error/404.php
  4. ErrorDocument 500 /error/500.php

Report this snippet


Comments


You need to login to view comments.