404 error

Help
kurt lane
2009-03-04
2013-06-03
  • kurt lane

    kurt lane - 2009-03-04

    Hello,

    I would like it if the directory I go to that dosent exist would bring up my 404 error page.  At first it was just bringing up the header banner, but now i just tried your demo again,

    http://www.phpgraphy.org/demo/?dir=anything_that_dosent_exist

    and got the error,

    FATAL ERROR: The directory you've requested doesn't exists

    Thats better then just the banner.  Is it possible to get it to show my 404 error page?

    Thank you.

     
    • kurt lane

      kurt lane - 2009-03-23

      I can Put in <meta http-equiv="REFRESH" content="0;url=http://custom 404 page"> then it goes there, I could not get the PHP equivialnt to work, header("Location: custom 404 page"); I think becuase part of the page was already generated. 

      I would actually like it to register on the server and in the search engins as a 404 error. Any ideas?

      Thanks in advance.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks