Mastodon rel=me help

Gone through all the posts mentioning this, tried the JavaScript solutions on those posts, and nothing works so far.
I have a custom domain for my blog, and would love to get that verified on Mastodon. Something that’s really easy to do if you have access to the html for the theme, but seems impossible over at

Can someone provide a little assistance ? Since is running it’s own instance, I believe that some love could be shown for this feature. It would be much easier if we had this on the blog settings: a field where we could insert our mastodon username, and that would be included in the html for the blog. We wouldn’t even need to know what was happening in the background, it would be automatic.


1 Like

Easiest way to do this would be to have an about or contact page, and include the link.

<a rel="me" href="<mastodon profile link>Find me on Mastodon</a>

If you don’t want to show the link on your page. For example, you want to be verified on mastodon, but don’t want visitors to see the link on your page, use this:

 <a class="masto-link" rel="me" href="[mastodon profile link]">Find me on Mastodon</a>

Then add the following CSS in your customiser:

a.masto-link { display:none; }

Hi. Thank you so much for the reply.
I do have a contact page and inserted the link, and css.
It works, the link is being served and hidden.

However, when inspecting the source of the page, I can see the link there, but the rel tag has been stripped and added a nofollow.

So, in the end, the rel part doesn’t work :pensive:

That’s a great idea to automate it in some way @maique! Currently you’re correct — there’s no way to do this at the moment because adds rel=nofollow to links by default. @matt outlines the reasons in this forum post:

However, in that same post he mentions that removing the rel=nofollow could be a possibility for those with a Pro subscription. I think that’s more than fair.

I’m curious to see what other people thing of that idea. For one, having rel=me would open the door for to be one step closer to implementing some IndieWeb standards like IndieAuth and WebMentions

Thank you for your reply.
I now have a Pro account, even though it’s been a gift from a user, and can’t seem to find a way to do this. The post is from Sep 19, so I’m guessing it’s not a priority.

Thanks anyway.

No problem! Yeah, it hasn’t been implemented yet but sometimes it takes a feature request a couple tries for it to be brought to light. Would you (or anyone) prefer it to be an option to disable the rel=nofollow or have it happen by default?

Personally I thing the easiest way for non-tech people, would be to have a field on the individual blog settings, where you would insert your mastodon user(s) and have the backend insert that into the code.

It would also mean you could do whatever you want with this nofollow policy, while allowing us to prove ownership of the blog.

1 Like

Chiming in here, I would love to see this as an option to disable. Leaving by default might be better, as Matt explained in that post, but an option would be great :slight_smile:


I am joining the conversation since I think having rel=me has become a lot more relevant for and WriteFreely recently, given the efforts that were made to integrate with the fediverse.

My feelings exactly. That’s why, the only reason actually, I’d love to have this fixed.