SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2000
    Location
    Peterborough, England
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have been told by an ISP that:

    "The 404 error message is generated by your browser software and not the
    server."

    But i was told it could be done elsewhere...

    i am confused?????

    Please help,

    internationally

  2. #2
    SitePoint Member
    Join Date
    Jun 2000
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's half true.
    The 404 page is generated by the browser, when there is no 404 set by the server.
    The are two simple ways to create a customized 404 error page redirect :
    1. Through apache httpd.conf configuration file. Add the line :
    ErrorDocument 404 http://www.yourname.com/errorpage.html

    yourname.com can be an external page out of your domain.

    2. Through .htaccess file. Create a .htaccess file in the main dir of your website with the following line :
    ErrorDocument 404 /ERROR.html
    John Nousis
    SiteOwners.com - For webmasters only!
    Search Engine Promotion
    Webmaster Tools
    Advertising Tips
    Discussion Forums
    -----------


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •