In wordpress I am manipulation 404 response. I want to give the response before 404 error is given to google

WordPress has a function to send a different status header:

status_header( 200 );

If you send that after WordPress has send its headers and before you print anything you will get a status header 200.

You could also filter 'status_header' and change the value there. See wp-includes/functions.php for details.

Leave a Comment