Problem in rss feed after updating to rank math 1.0.55

#129912
  • Resolved birshu sarma
    Rank Math free

    Dear Team,

    I am using a custom code in “code snippet” pluing to show image tag in rss feed. The following is the code:
    _____________________________________________________________
    add_action(‘rss2_item’, ‘add_my_rss_node’);

    function add_my_rss_node() {
    global $post;
    if(has_post_thumbnail($post->ID)):
    $thumbnail = get_the_post_thumbnail( $post->ID, ‘large’, array( ‘style’ => ‘margin-bottom: 15px;’ ) );
    echo(“<image>{$thumbnail}</image>”);
    endif;
    }
    _______________________________________________________________

    This code gives output in feed as:
    https://nenow.in/feed
    _________________________________________________________________
    But after updating the rank math plugin to 1.0.55, the output is giving error. It is like this (in test environment):
    https://34.93.213.202/feed

    Difference is “/” is missing in img tag, Because of this my feed is showing invalid.

    I am unable to understand how rank math can effect my feed. Please guide me to resolve my feed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for getting in touch and sorry for any inconvenience caused.

    I checked both your feeds and they show correctly with no errors, here are screenshots: https://i.rankmath.com/16Aeay, https://i.rankmath.com/XNKVO4

    Where specifically are you having this issue?

    Looking forward to helping you.

    Dear Micheal/Team,

    Please see the problem in this screenshot marked with red:https://snipboard.io/QWeEZA.jpg

    “/” is missing here.

    Hello,

    It’s quite weird, especially the fact that the issue seems to be only on some images and not others(screenshot:https://i.rankmath.com/7H0g4g)

    Could you confirm if the issue is fixed when you deactivate Rank math ? If it is, assuming you are using the latest version of all the plugins and the themes (please update if not yet), you should check for a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    If the issue persists, please record a video screencast using a tool like Loom showing the troubleshooting and edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    Please do take a complete backup of your website before sharing the information with us.

    We really look forward to helping you.

    Dear Michael/Team,

    I have checked by deactivating rank math. In this case “img” tag is ok and feed is valid.

    After activating rank math feed becomes invalid again.

    I have provided login to my test server. Can u please check what can be the problem.

    -Birshu Sarma

    Hello,

    I can’t seem to be able to access your site at the moment, would you please check and let us know when the site is accessible again so we can check?

    Looking forward helping 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 5 replies - 1 through 5 (of 5 total)

The ticket ‘Problem in rss feed after updating to rank math 1.0.55’ is closed to new replies.