In pictures – deleting a directory from Google

To removal a whole directory from Google’s index, you need to submit the request from a verified Search Console (a.k.a. Webmaster Tools) account for the site.

Block the directory in robots.txt

blockdirectory
In Search Console (a.k.a. Webmaster Tools).

Site configuration, crawler access and click on Remove URL

Enter the name of the directory, ensure that it matches in case variation to the indexed directory and the blocked directory in the robots.txt file. Click continue.

enterdirectory
Drop down select box. Pick the final option – Remove Directory and click Submit Request.

remove-directory
Directory Removal -Confirmation Screen

Confirm all of the details are correct, tick the box which indicates you have blocked the content by robots.txt and click Submit Request.
submitremovalrequest
That is it. As long as your directory is blocked correctly, the request should succeed within 24-36 hours or so.

Important – Note


Ads