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/*
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.