Remove pages in bulk from google search

#72588
  • Resolved Be PM Pro
    Rank Math free

    Guys,

    I have idea to remove individual pages from google search. However, I have more than 100 pages which I don’t wanted to be crawled. I just want the visitors to view those as they’re not content rich and might even cause duplication issues. I only want my proper blog posts to be searched and indexed.

    So now, in RankMath I have marked all those categories which I don’t want to be indexed as No-Index, No-Follow. So here are my two questions:

    1. Do I also need to mark each post under those categories as no-index/no-follow or just marking their categories will be enough?
    2. The posts which are already indexed by google, how do I remove all those 100 posts from the search index in bulk?

    Please note I have already excluded those categories from my internal category list, search, and archive pages. So those are not directly accessible on my site. But if someone has a link he or she can access that post; for example, a link from social media.

    Please some guidance in this regard would be very helpful.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thanks for getting in touch with us.

    You can mark those as noindex and they will be removed from Google SERPs.

    But, it is a long and tedious process so you have to be patient.

    To remove a page from Google, you will need to remove the page link from the Google cache by following these steps:

    1). Login to the search console and head over to the remove outdated content page.
    2). Enter the URL (web address) of the page that has the deleted content you want to remove.
    3). Select Request removal.
    If you see the message “We think the image or web page you’re trying to remove hasn’t been removed by the site owner,” follow the onscreen steps to fix this.
    4). If you see the message “This content is no longer live on the website,” select Request Removal.

    I hope this info helps. Thank you.

    Hi,

    Thanks for your reply.

    Could you please also clarify the following point?

    Do I also need to mark each post under those categories as no-index/no-follow or just marking their categories will be enough?

    Marking the category to no-index is enough or do I have to mark all posts as no-index??

    Hello,

    You will have to also noindex the individual posts. To workaround this, you can make use of a filter to set all the posts on the category to index/follow like so:

    /**
     * Allows filtering of the robots meta data.
     *
     * @param array $robots The meta robots directives.
     */
    add_filter( 'rank_math/frontend/robots', function( $robots ) {
         global $post;
         // filter for only a specific category
         if(get_category() == "your_category_name_here"){
            $robots['index'] = "noindex";
            $robots['follow'] = "follow";
            return $robots;
         }
    	return $robots;
    });

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hi Michael,

    Thanks for your reply. I’ll give it a try. Much appreciated!

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

The ticket ‘Remove pages in bulk from google search’ is closed to new replies.