Depending on the current indexing, two steps are required to ensure that the site will not be indexed again and ensure that it will not appear in Google search results with error 404
:
Disable indexing
To ensure that the site is permanently removed from Google search results, you need to create a file in the root of the domain named robots.txt
to block access of crawler
to that site:
Content of robots.txt
:
User-agent: *
Disallow: /
These directives will indicate that nothing should be indexed when crawler
passes through that site.
Remove the site and its pages from search results
After blocking crawler
access to the domain, you need to take the following steps to remove the domain in question from Google search results:
Sign in to your site Google Webmaster Tools
Choose the desired site from the list of existing sites
In the side menu, choose Google Index
Choose the Remove URLs
sub-option
Once on the page, on the right side we have a button to create a new removal request:
After clicking the button you need to enter the desired address:
If the box asks what type of removal you want, you should choose to remove it from the cache and search results.
Inthisway,notonlyguarantorsthatblockedtheaccessofcrawler
tothesite,butalsoguaranteethatthesiteinquestionwillstopappearinginthesearchresultsavoidingthepossibilityoferrors.
Someoftheinstructionscanbefoundatthis Google Webmaster Tools Help .