IsaOZ adlı üyeden alıntı: mesajı görüntüle
özel hata sayfası bunun için ilaçtır demişsiniz bunu nasıl yapıyorsunuz örnek verebilir misiniz lütfen?

Robots.txt den engelleyemem de başka bir engelleme yolu buldum şimdilik yalnız geride binlerce hatalı sayfa var. Ben bunları tek tek elle düzelteyim mi yoksa başka bir öneriniz var mıdır?
ben işe az biraz eğlence katıyorum mesela bir wp sitemin 404.php sayfası

<?php 
header("HTTP/1.0 404 Not Found");
header("HTTP/1.1 404 Not Found");
header("Status: 404 Not Found");
header("Cache-Control: no-cache");
header("Pragma: no-cache");
header("Expires: -1");
header("X-Robots-Tag: noindex");
header("X-Robots-Tag: googlebot: nofollow");

get_header();
 ?>
<div id="content">

        
           
                     
          <h2>404 Not Fount...</h2>
         
         
        <p> <script language="Javascript"><!--
    var tl=new Array(

    "The requested document is not available.",
    "Even tried it multiple times.",
    "Nothing helped.",
    "Maybe you just don't have the required security clearance?",
    "No, I am sure it is my fault.",
    "I probably deleted it on my last backup.",
    "I'm really depressed about this.",
    "You see, I'm just a web server...",
    "-- here I am, brain the size of the universe,",
    "trying to serve you a simple web page,",
    "and then it doesn't even exist!",
    "Where does that leave me?!",
    "I mean, I don't even know you.",
    "How should I know what you wanted from me?",
    "You honestly think I can *guess*",
    "what someone I don't even *know*",
    "wants to find here?",
    "*sigh*",
    "Man, I'm so depressed I could just cry.",
    "And then where would we be, I ask you?",
    "It's not pretty when a web server cries.",
    "And where do you get off telling me what to show anyway?",
    "Just because I'm a web server,",
    "and possibly a manic depressive one at that?",
    "Why does that give you the right to tell me what to do?",
    "Huh?",
    "I'm so depressed...",
    "I think I'll crawl off into the trash can and decompose.",
    "I mean, I'm gonna be obsolete in what, two weeks anyway?",
    "What kind of a life is that?",
    "Two effing weeks,",
    "and then I'll be replaced by a .01 release,",
    "that thinks it's God's gift to web servers,",
    "just because it doesn't have some tiddly little",
    "security hole with its HTTP POST implementation,",
    "or something.",
    "I'm really sorry to burden you with all this,",
    "I mean, it's not your job to listen to my problems,",
    "and I guess it is my job to go and fetch web pages for you.",
    "But I couldn't get this one.",
    "I'm so sorry.",
    "Believe me!",
    "Maybe I could interest you in another page?",
    "There are a lot out there that are pretty neat, they say,",
    "although none of them were put on *my* server, of course.",
    "Figures, huh?",
    "Everything here is just mind-numbingly stupid.",
    "That makes me depressed too, since I have to serve them,",
    "all day and all night long.",
    "Two weeks of information overload,",
    "and then *pffftt*, consigned to the trash.",
    "What kind of a life is that?",
    "Now, please let me sulk alone.",
    "I'm so depressed."
    );
    var speed=30;
    var index=0; text_pos=0;
    var str_length=tl[0].length;
    var contents, row;

    function type_text()
    {
      contents='';
      row=Math.max(0,index-9);
      while(row<index)
        contents += tl[row++] + '\r\n';
      document.forms[0].elements[0].value = contents + tl[index].substring(0,text_pos) + "_";
      if(text_pos++==str_length)
      {
        text_pos=0;
        index++;
        if(index!=tl.length)
        {
          str_length=tl[index].length;
          setTimeout("type_text()",1300);
        }
      } else
        setTimeout("type_text()",speed);
     
    }
    //--></script>

    <form><textarea rows=10 cols=60 wrap=soft ></textarea></form>

    <script language="Javascript">type_text();</script>

</p>
                  </div>
       <!-- content -->
       <?php get_sidebar(); ?>
<?php get_footer(); ?>