There are two ways to prevent search engines such as Google, and Bing from indexing your posts.
Use <meta>
tag
In Settings → Code Inject, add below code into Meta HTML:
<meta name="robots" content="noindex">
The code will be added into <head>
in every page of your website.
If you just want to hide a certain post from search engine, you can add this code into Code Inject when editing the post.
Use robots.txt
Search engines also respect /robots.txt
. You can add a new asset:
- Name: robots.txt
- Slug: robots.txt
- Mime type: text/plain
User-Agent: *
Disallow: /