Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Doing a proper 404 redirect

by JavaFan (Canon)
on Mar 24, 2010 at 08:19 UTC ( #830479=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Doing a proper 404 redirect
in thread Doing a proper 404 redirect

Wait. So, given that you demonstrated you know how to print "301", you now seek knowledge how to print "404"?

Sorry, but that's way over my head.


Comment on Re^3: Doing a proper 404 redirect
Re^4: Doing a proper 404 redirect
by DreamT (Pilgrim) on Mar 24, 2010 at 10:02 UTC
    No.
    I'm seeking for the _proper_ way to _signal_ a 404 to whatever visits the site (search engines, bots, etc.).
    As I wrote, there was a thought error on my behalf. I'm not looking for a redirect.

      I'm seeking for the _proper_ way to _signal_ a 404 to whatever visits the site (search engines, bots, etc.).
      Right.... And you already shown that you know the proper way to signal a 301. You print 301. Now, do you still really not understand how to print 404? Let me explain how one can print 404.
      print 404; # TADA! Magic!
      Printing an optional message and mandatory network end-of-lines is left as an excercise for the reader.

      Please come back to the site if you have problems printing a different number!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://830479]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2014-12-18 10:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (49 votes), past polls