looking for PHP with .htaccess GURU help Pls help.

Discussion in 'PHP' started by rahulsingh, Aug 10, 2008.

  1. #1
    rahulsingh, Aug 10, 2008 IP
  2. deleted-account

    deleted-account Active Member

    Messages:
    655
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    85
    #2
    Right well I can't quite understand what you want...
     
    deleted-account, Aug 10, 2008 IP
  3. rahulsingh

    rahulsingh Well-Known Member

    Messages:
    256
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #3
    just i want to return 200 status code OK in my header, when someone go on 404 Page
     
    rahulsingh, Aug 10, 2008 IP
  4. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #4
    what host you are using if it is linux based then we can help u better

    If you are using windows based hosting and asp .net then u r posting in wrong section

    Regards

    Alex
     
    kmap, Aug 10, 2008 IP
  5. blognol

    blognol Peon

    Messages:
    87
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You can redirect using .htaccess but you need to have linux hosting
     
    blognol, Aug 10, 2008 IP
  6. nfd2005

    nfd2005 Well-Known Member

    Messages:
    295
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    130
    #6
    if you are using PHP you could try this on your 404 page:

    
    <?php
    header("HTTP/1.0 200 OK");
    ?>
    
    PHP:
     
    nfd2005, Aug 10, 2008 IP