Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have several dead pages, which are annoyingly still indexed in Google.

I've set my 404.php to redirect to my homepage using wp_redirect, however I'm worried that this will prevent Google from unindexing those dead pages?

I've tried setting the status code in the redirect to 404, but this results in no redirection.

share|improve this question

closed as off topic by toscho Jul 18 '12 at 20:54

Questions on WordPress Development Stack Exchange are expected to relate to WordPress within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.