RSS footer

  • Hello,

    I am just figuring out ways to protect my blog content from being scraped or copied and was wondering if it is possible to add a copyright footer + url to the RSS feed through RankMath?

    Just in case our RSS feed would get scraped to have the copyright notice and link to the original content automatically added to the footer of our RSS and displaying on the copied blog.

    Thank you for your help.

    Kind regards,
    Kat

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math.

    Yes this is possible with Rank Math. You can use the below filter to add custom content to each feed item. The code should be used and customized within your functions.php file:

    /**
     * Filter code to change content after RSS feed item
     *
     * @param string $content The content set in Settings.
     */
    add_filter( 'rank_math/frontend/rss/after_content', function( $content ) {
    	return $content ;
    });

    You can also include the custom text via the admin GUI by navigating to Rank Math > General Settings > Others

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘RSS footer’ is closed to new replies.