Jump to content

Mastodon rel =me verification


Recommended Posts

Been trying to add the rel =me link from Mastodon to verify myself, but it is not going through. Have added it to the header, footer and even as a custom block and no joy with it picking things up. Is there something that I might be missing?

Link to comment
Share on other sites

Marc Stridgen
This post was recognized by Marc Stridgen!

Chris Anderson was awarded the badge 'Helpful' and 5 points.

Go to your ACP and navigate to Themes and click on the "Edit HTML and CSS" option as shown below:

Could contain: File, Text, Webpage, Page

Navigate to:
core/front/global/globalTemplate

Append the following just above </body> which is located at the very bottom:

      <a rel="me" href="https://Your Mastodon Server Name/@UserName"></a>
    </body>
</html>

This will place a hidden rel="me" on the front page of your site that your server should see and validate you.

<a rel="me" href="https://Your Mastodon Server Name/@UserName">Mastodon</a>

"If" you include the underlined "Mastodon" as shown above you will get a clickable link shown up on your webpage which probably is not ideal which is why I did not include it.  You could also place the rel="me" code on other pages you might have on your site but you need to include the page in your profile such as shown below:

https://mysite.com/aboutme.htmlCould contain: Text, Page

Your profile will show your website as being validated but with the page appended to the website.

Depending on your server it could take anywhere from a few seconds for your domain to be validated to several hours.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...