Jump to content

Help with Status Codes & PHP


rckehoe

Recommended Posts

Hey...

 

I have a site... I am trying to emulate directories.

All the script works fine, but I am concerned about search engines.

 

Although the pages come up with the correct information, my error log and status codes report a 404 page... I would like to change that and make them say status code 200 OK. Or something.

 

I tried using this, but it doesn't work:

header("HTTP/1.0 200 OK");

 

Any suggestions, apache or PHP hacks available?

 

Thanks...

Link to comment
https://forums.phpfreaks.com/topic/49485-help-with-status-codes-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.