Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Three Mastodon issues because of Cloudflare Bot protection

DEV Community·Nicolas Fränkel·about 1 month ago
#8cEydxL9
Reading 0:00
15s threshold

I noticed some time ago that three Mastodon features had stopped working on my blog. Each of them seemed like a separate problem, but they had the same root cause. In this blog post, I want to describe these issues and the simple fix. Domain verification Mastodon allows you to prove that you own a domain. The mechanism requires two steps: Add a <link rel="me"> tag in your pages, pointing to your Mastodon profile Add your website URL to your Mastodon profile When Mastodon crawls your page and finds the backlink, it displays a green checkmark next to your URL in your profile. I had set this up long ago and made it work, for my blog and GitHub. Then, the blog link stopped working, while GitHub's still worked. It made me sad, but I couldn't understand what changed. Post preview When you share a link on Mastodon, your instance crawls the page to generate a preview card. It reads the page's OpenGraph tags: title, description, and image. My blog had all the correct tags.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More