I am working on a project which has some private information. They are indexed in google and is showing as a snippet. Now I want to remove those URL from google index. I have gone through the google webmaster tool and followed instruction given to remove url

Following is the URL I want to remove :

- https://www.example.com/cars/first-car
- https://www.example.com/brands/first-brand/computers/first-computer/

Above are dynamic URLs.

Following is what I have entered for removal : (Google is showing removed in webmaster)

- https://www.example.com/cars
- https://www.example.com/brands

What I believe is it should remove all the URLs which have root /cars and /brands from Google about my website.

But it is still showing in the Google index.

I want to know that if I enter following :

- https://www.example.com/cars/*
- https://www.example.com/brands/*

Will that work? if not what I should enter to remove all that URLs and snippet to prevent showing on google? Your help will be appreciated.

  • Just use robots.txt disallow /cars Apr 28, 2018 at 14:55
  • Did you select "Temporarily hide directory" when submitting the URLs? How long has it been since you submitted the removal request?
    – MrWhite
    Apr 28, 2018 at 15:15
  • Thank you @SimonHayter for quick reply. is it possible to remove from Google Webmaster ? using pattern in URL ? /cars/*
    – Anand Soni
    Apr 28, 2018 at 15:16
  • @MrWhite No. I have select "Temporary remove page", should I select "Temporary remove directory" ?
    – Anand Soni
    Apr 28, 2018 at 15:19
  • Yes - it seems that is what you want to do. (?)
    – MrWhite
    Apr 28, 2018 at 15:30

1 Answer 1


As mentioned in document you linked to, if you want to hide the URL and all subpages, ie. the entire directory, then you need to select "Temporarily hide directory" when submitting URLs of the form:

  • https://www.example.com/cars
  • https://www.example.com/brands

As far as I know, wildcards are not supported.

Whilst /cars and /brands may not be physical directories on disk, they behave like directories in the URL. Really, they are whole path segments.

  1. If not hiding the entire site, you'll be asked to choose one of the following actions:

    • Temporarily hide page from search results and remove from cache: Hides the page from Google search results for about 90 days, and also clears the cached copy of the page and snippet. The page can reappear in search results after the blackout period. Google will recrawl the page during the blackout period and refresh the page cache and snippet, but will not show them until the blackout period expires.

    • Remove page from cache only: Clears the cached page and snippet, but does not remove the page from search results. Google will refresh the page cache and snippet.

    • Temporarily hide directory: Hides an entire directory from search results for about 90 days and also clears cached pages and snippets for all pages in the specified directory. The directory can reappear in search results after the blackout period. Google will recrawl the pages during the blackout period and refresh the page caches and snippets.

  • 1
    Thank you MrWhite, I have tried that configuration and waiting for approval. I will accept answer once it works. Thanx
    – Anand Soni
    Apr 29, 2018 at 5:12
  • 1
    MrWhite, it works. I need to select Temporarily hide directory. Thank you for your support.
    – Anand Soni
    Apr 30, 2018 at 7:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.