Preventing Views and Entries from being crawled by the Google Crawler/Bot

Sometimes your Views might contain sensitive data, therefore, you might want to prevent them from being indexed by Google and other search engines. In order to achieve that, you'll need to create a file on your WordPress root directory called  Robots.txt.

Then, write the following instructions inside this text file:

User-agent: *
Disallow: /view/*/entry/*
Disallow: /*/entry/*

Removing the View Custom Post Type from Yoast SEO

EO plugins such as Yoast will automatically add all Custom Post Types (such as GravityView Views) to your website sitemap that is accessed by Google & other search engines. There's a way to explicitly exclude them from the sitemap.

In Yoast, for instance, this can be done by accessing the "SEO > Search Appearance" menu and then the Content Types tab: 

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.