You are currently browsing the page Custom error pages in the Miscellaneous category.

Custom error pages

Learn how to make custom 404, 403, ... error pages! Open a text editor, like Windows Notepad, and insert this line of code. Then, save it as .htaccess ! No name, nothing, only .htaccess! Transfert it to your server, right in the public_html folder, or in your root folder.

ErrorDocument 404 REPLACE_BY_YOUR_PAGE_URL.htm

Well, it's the same for other pages error, exemple:

ErrorDocument 400 http://www.you.com/400.htm
ErrorDocument 403 http://www.you.com/403.htm
ErrorDocument 500 http://www.you.com/500.htm
ErrorDocument 404 http://www.you.com/404.htm

Print This Post Print This Post



Sponsors


One Response to “Custom error pages”

i don't get this


Leave a Comment

Works? Doesn't work? Other tips? Please leave a comment! :)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

To post codes, please go to SimpleCode and transform your codes first, so that it will displayed properly. Indeed, < and > need to be converted to &lt; and &gt; :)


Close
E-mail It