If you use a public visibility setting on a post, the post will be visible to everyone, even people who aren’t Fediverse members. This means the post may be indexed by search engines, but there is something you can do to stop it.
Also, by default Mastodon profiles can be indexed by search engines as they are public too.
How to prevent a post being visible to search engines
The surest and safest way to prevent a post ending up on a search engine’s index is to use a non-public visibility setting. Followers-only and Mentions-only settings cannot be seen by search engines, so they cannot be indexed by them.
How to ask search engines not to index your profile
Mastodon has an option to request that search engines don’t index your profile page:
- Log in through your server’s website or web app
- Click on your profile image to go to your profile page
- Click on Edit Profile
- Click on the Privacy & Reach tab at the top of the page
- Scroll down to the box marked “Include profile page in search engines”, and UN-tick this box
- Click the Save changes button at the bottom of the screen
However, bear in mind it’s up to a search engine to decide if it wants to honour this request. Some search engines may decide to ignore your request. For that reason, it’s best not to put sensitive information on your profile.
What does the other option “Include public posts in search results” do?
There is another option in the settings just above the one about profiles. However, despite the similar wording this other option is nothing to do with search engines. If you tick the box marked “Include public posts in search results”, it will allow your public posts to appear in search results within Mastodon rather than external search engines. See the guide to full text search for more info on this.