Hi Michael and Todd,
I found the RSS After Content box (under SEO Settings / Other) and added the suggested code:
The post %POSTLINK% first appeared on %BLOGLINK% and is written by %AUTHORLINK%
I checked the feed after saving and it seems to add “NoFollow” to the links. How can I change this to make them “DoFollow”? If the feed is being scraped I’d definitely like to get a decent link out of it.
<p>The post <a rel="nofollow" href="https://reclaimdesign.org/how-to-make-an-upcycled-bottle-lamp">How To Make An Upcycled Bottle Lamp</a> first appeared on <a rel="nofollow" href="https://reclaimdesign.org">Reclaim Design</a> and is written by <a rel="nofollow" href="https://reclaimdesign.org/author/reclaimdesign">reclaimdesign</a> | © Reclaim Design</p>
Hello,
Thank you for contacting Rank Math today.
You can add the following code snippet to your theme’s functions.php file to remove the nofollow attribute:
/**
* Let developers determine whether or not to add rel="nofollow" to the links added by Rank Math to the RSS feed. This defaults to true.
*
* @param bool $unsigned To allow or not to follow the links in RSS feed, defaults to true.
*/
add_filter( 'rank_math/frontend/rss/nofollow_links', '__return_false' );
Looking forward to helping you. Thank you.
Thanks Michael – that’s great.
Hi Michael,
We are glad to be of help.
If you need help with anything else, please open a new support ticket here so we can help.
We are always here for assistance.