Prevent Google from Indexing Plugin

#53114
  • Resolved Lance
    Rank Math free

    I use the full – paid – suite of products from Astra, Their WP Portfolio plugin has a feature that loads all of their demo websites; just like here: Demo sites

    All of these sites have an entry with the image of the site in their plugin “WP Portfolio” along with a link that will load the demo on click. I use a plugin to load these site on a page.

    When I use google to search for my domain name it lists a WP Portfolio item and clicking on the link opens a page with no image.

    How to tell RM to not have Google index WP Portfolio? The SEO Titles & Meta page seems to be where I could do this but I’m concerned I’d remove the page that displays the demos on my site.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Todd
    Rank Math free

    Hello,

    Thanks for getting in touch with us.

    If you are using a particular post type for adding demo content, you can make it noindex from WordPress Dashboard > Rank Math > Titles & Meta > CPT.

    If you wish to prevent Google from indexing pages that contain the word demo, you can add this text to your robots.txt file at WordPress Dashboard > Rank Math > General Settings > Edit Robots.txt

    User-Agent: *
    Disallow: /*demo*
    

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Lance
    Rank Math free

    I updated the image link with what the Portfolio looks like. 104 images that the page that I do want indexed is pulling from.

    To try and clarify. Google is crawling the Portfolio, which is NOT a page; it’s a plugin. So are you saying I have to go thru 104 pages and set noindex?

    Alberto
    Rank Math business

    Hello,

    No, since “Portfolio” is a custom post type (like in my case one called “Custom”), you can set all of them as no-index like I show you in the following screencast: https://i.rankmath.com/LLuTYQ

    Looking forward to help you.

    Lance
    Rank Math free

    Thanks Alberto!

    Seems like in today’s SEO world one needs to be a data scientist just to please Google.

    Hello,

    LOL. Not really but it is always important to learn the technical aspects of how indexing works.

    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 ‘Prevent Google from Indexing Plugin’ is closed to new replies.