InfoHeap
Tech tutorials, tips, tools and more
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search

SEO tutorials

  • How to change twitter handle and its impact on traffic
  • How to do keyword traffic research using adword
  • How to make best use of Alexa
  • How to migrate your site from one domain to another
  • How to monitor 404 pages on your site
  • How to remove urls from Google index using webmaster tools
  • How to undo HTTP 301 site/domain redirect
  • Verify a web site in google search console
  • Wordpress SEO - beginner guide
  • Xml sitemap - quick introduction
  • robots.txt
  • www vs non-www domain which is better for your site?
 
  • Home
  • > Tutorials
  • > Web Development
  • > SEO

How to remove urls from Google index using webmaster tools

By admin | Last updated on Mar 20, 2016

Many times you want to remove urls from google index. There can be many reasons for doing that. Some of the reasons are:

  1. A page has been deleted but it is still indexed in Google.
  2. Page is not deleted but you don’t want Google to index it. One example is search page.
  3. A page with some non-public data which got accidentally indexed by Google. You may want to remove it from Google index.
  4. Non existing pages on your site which could be result of some bad link on your site of or some external site. These can be found by looking at crawl errors in webmaster tools.

Here are the steps to remove urls from Google index:

  1. Click on “Google index” > “Remove URLs” to go to “Remove URLs” section in webmaster tools.
    webmaster-search-console-remove-url
  2. Click on “Temporarily hide” as shown above. Note that earlier it used to be Remove Url. Google has made label change to emphasize that url will be temporarily removed.
  3. Enter /foo/bar/non-existing-page/ or whatever url you want to remove in the box as shown above. Please note that the url you enter must meet the removal requirements. The easiest option is to add this url to either robots.txt or make sure you return HTTP 404 for the page.
    If you are using apache then you can use following entry in apache config to return HTTP status code 404

    RewriteRule ^/foo/bar/non-existing-url/$   -   [R=404]
  4. Next you need to select request type. Typically for a single url you can select “Temporarily hide page from search results and remove from cache”.
    webmaster-search-console-removal-request-typeIn case you are removing a directory, you can choose “Remove directory” option. Remove directory request must be supported by robots.txt. I usually avoid removing a complete directory if the urls to remove set is small to prevent any accidental removal.

Once a removal request is made, Google takes sometime to remove your pages from the index. For me it has been mostly less than a day.

Additional comments

I think removing unnecessary pages from Google index is a good idea. This may help Google to index other pages on your site better.

Suggested posts:

  1. Verify a web site in google search console (webmaster tools)
  2. How to undo HTTP 301 site/domain redirect
  3. How to monitor 404 pages on your site
  4. Xml sitemap – quick introduction
  5. How to setup Google feedburner email subscription newsletter
  6. How to use google custom search for wordpress site
  7. How to resubmit robots.txt to Google
  8. Apache – how to remove php extension from url
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Apache, mod_rewrite, SEO, Tutorials, Webmaster

Follow InfoHeap

facebook
twitter
googleplus
  • Browse site
  • Article Topics
  • Article archives
  • Recent Articles
  • Contact Us
  • Omoney
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries

Copyright © 2023 InfoHeap.

Powered by WordPress