Hello,
We apologize for the inconvenience you’re experiencing with the Rank Math link showing up in your published blog post. To remove the “Positive Negative Sentiment” hyperlink, you can follow these steps:
-
Navigate to your WordPress Dashboard and go to Appearance > Theme File Editor.
-
Click on the functions.php
or rank-math.php
file from the theme files.
-
Add the following code snippet to remove the rank-math-link
class:
/**
* Filter to remove `rank-math-link` class from the frontend content links
*/
add_filter( 'rank_math/link/remove_class', '__return_true' );
-
Click Update File to save the changes.
This should remove the “Positive Negative Sentiment” hyperlink from your published blog post. If you have any further questions or need additional assistance, please feel free to reach out to our support team.
I hope this helps!
Sources:
Remove “rank-math-link” Class from All Outbound Links » Rank Math
Understanding Rank Math’s Meta Box Appearing in Single Posts & Pages
How to Hide SEO Score From the Frontend » Rank Math
How to Disable All Rank Math Generated SEO Tags » Rank Math
How to Prevent Modified Date of Your Blog Posts from Being Updated » Rank Math
I cannot see the php file as listed above. Please can you tell me if there is a way to add this via Code Snippets or similar.
From the help file it says “Doing this will essentially render the nofollow and sponsored options for outbound links to be useless:” so this is not my issue as I have described above
Hello,
Thank you for your patience.
We checked the page, and the screenshot you have shared does not appear.
Could you please confirm if it’s only appearing when you are logged in to your WordPress dashboard? You can try visiting the link using Incognito mode (Google Chrome) to check that.
Looking forward to helping you.
Hi Reinelle, I resolved the issue. I had somehow accidentally added the RankMath text/link as a block in the wordpress post editor. I deleted this, updated and it is gone now thankfully.
Hello,
Thank you for the update.
We’re glad that you have already managed to resolve this issue.
If you have any other concerns, please don’t hesitate to contact us anytime to assist you further.
Looking forward to helping you.