How to Deindex your wordpress website from google search index

Deindex your wordpress website from google search index

If you’re going reset your wordpress website,so you must be consider to deindex and remove your website previous search results from google search index for saving your domain penalized by google.

You will be face 404 Error After reset your website: 

After removal process of your website for reset purpose,there should be 404 error which means “not found in the server or page and url removed or moved”,it could become dangerous situation for your domain penalized or ban by google, if you’re not requested or tell to google for deindex your website via specific code.

Adding Deindex code in 404.php file:

header(‘HTTP/1.0 410 Gone’); You need to add this code in your 404.php file between <?php and get_header(),?>.this code will tell or requested to google robots for deindex your previous search results from google search index,and convert 404 error in to 410 which means (files has been gone)

Aftermath: 

After adding code,google will automatically start deindex your search results within 24 hours,you might be received this email from google but you don’t need to panic,

You need to mark fixed all these 410 error on daily basis from google webmaster tools till finished this all,and it’s done! 

Related article

 

 

 

 

Comments

comments