Home   Help Login Register  
Welcome, Guest. Please login or register.

Login with username, password and session length

Search
Pages: [1]
Print
Topic: 404 redirection using .htaccess  (Read 676 times)
0 Members and 1 Guest are viewing this topic.
« on: July 16, 2009, 09:35:39 PM »
Janak
Administrator
Full Member

View Profile
*****
Posts: 119



Sometimes, you may wish to set your custom page to redirect your website's 404 error pages. In Linux it is quite easy to set it up. You just need to paste below code in your  .htaccess file:

ErrorDocument 404 /404.html

Note: Replace your custom page name with 404.html.

Thanks!


Logged

Pages: [1]
Print
Jump to:  

� 2006 VPS forum, VPS hosting forums, VPS discussions, VPS web hosting solutions, issues, providers, virtual web hosting questions, VPS hosting
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC | Forum style designed by PixelSlot
| Sitemap - XML Sitemap