“noindex” tag is added on HTTP Response

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

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    We’ve checked the product, and indeed it is set to noindex.

    For initial troubleshooting, please check if it was set to noindex under the Advanced tab while editing the page, and check as well the robots in Rank Math > Titles & Meta > Products.

    Here’s a guide you can follow:
    https://rankmath.com/kb/error-submitted-url-marked-noindex/#check-rank-math-metabox

    If the issue still persists, assuming you are using the latest version of all the plugins and the themes (please update if not yet), this could be caused by conflicting plugin/theme on your site.

    Rank Math automatically adds the noindex to the robots meta of myaccount, checkout, and cart pages. You may have a plugin/theme which is setting your product pages to be in that state which could cause conflict with Rank Math’s meta robots.

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

    Here is a video you can follow as well: https://www.youtube.com/watch?v=FcIWRhcUP2c

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

    Let us know how this goes.

    Thank you.

    Anonymous
    Rank Math free

    everything set as index and no issue found on troubleshooting. but noindex tag still found

    Hello,

    We’ve had a similar issue before regarding the Buy Now WooCommerce plugin. The Buy Now Button for WooCommerce plugin is setting the product pages as the cart or checkout pages and that’s why our plugin is setting them as Noindex.

    Can you please try adding this filter to your website and see if it helps?

    add_filter( 'rank_math/frontend/robots', function( $robots ) {
        if( is_cart() || is_checkout() ) {
            $robots['index'] = 'index';
        }
        return $robots;
    });

    You can add the filter via a plugin or through the rankmath.php file. You can also add it to your functions.php file but it may replace the code whenever the theme is updated. So the first two options would be the best practice. You can learn more about this here:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    If that didn’t work, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    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/

    We really look forward to helping you.

    Anonymous
    Rank Math free

    add_filter( ‘rank_math/frontend/robots’, function( $robots ) {
    if( is_cart() || is_checkout() ) {
    $robots[‘index’] = ‘index’;
    }
    return $robots;
    });

    this is not working, when i uninstall buy now pluging then page set as index. but i need this pluging,, so how i can solve this?

    Hello,

    In this case, would you kindly share your WordPress Logins as stated in my previous reply?

    We would also need to check if the code was added properly as well.

    We really look forward to hearing back from 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 5 replies - 1 through 5 (of 5 total)

The ticket ‘“noindex” tag is added on HTTP Response’ is closed to new replies.