Woocommerce product and shop page noindex in search console

  • Hello All, I had issues with no-index error for woocomemrce main shop page, you guys were amazing and helped me to resolve it.

    This week, after I updated to latest rankmath, all product pages and shop page are marked as no index in google search, noindex detected in ‘robots’ meta tag.

    I looked at woocommerce section of the rankmath under general settings and it seems fine.

    checked Titles & Meta -> Products -> Products Robots Meta is set to default.

    Checked each individual product page and shop landing page and its manually set to “index”.

    But still Google Search Console live test shows noindex is marked in robots file.

    I checked my robots file and it does not have anything there to indicate the problem is the file itself.

    What am i missing? any help is much appreciated. Thanks

    • This topic was modified 2 weeks, 5 days ago by  King Malik.
Viewing 15 replies - 1 through 15 (of 17 total)
  • Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hi, here is my search console showing all the product pages and shop page as no index

    https://drive.google.com/file/d/1X7lpZKd8MyMGdZqFXzy4YfBIeHfn47ci/view?usp=sharing

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I have checked your page source and the affected product links have been set to “noindex”. This could mean that there is another plugin that is installed on your site that could be adding this meta tag to the product pages.
    Please perform the diagnostic steps outlined on this help page to try and isolate the culprit:https://rankmath.com/kb/check-plugin-conflicts/

    Let me know how this goes. Thank you.

    ​​​​​​​

    Hello,

    We are sorry but we would love to diagnose this further.

    Can you please share your FTP logins in the sensitive data section as well so we can get to the bottom of this?

    Thank you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hi, I have updated the info to include sftp credentials to my site. Please let me know. Thank you for your help, i appreciate it very much.

    Hi, Guys…Did you guys get a chance to look? Thanks

    Hey,

    The FTP account does not allow us write access so we are unable to make any changes:
    FTP write permissions

    Can you please give us write access so we can help fix this?

    Hi, I enabled write permission for the wpconfig so you should be able to do it now. Please let me know if there is anything else needed for me. Thank You

    Hi, Did you get a chance to look? Thanks for your help

    Hi, I am not sure if you did the update, but i am getting this error on my website during its peak hours
    Notice: Constant WP_MEMORY_LIMIT already defined in /home/ifixscre/public_html/wp-config.php on line 107

    I appreciate if you can revert the changes during this time and experiment at night time. We are in New York. Thank You

    Hello guys, this is literally the peak hours of our business and website is down due to the changes you are making, if you could revert the changes and experiment during non peak hours, I would greatly appreciate it. Thanks.

    Hello King Malik,

    I just enabled the WP_DEBUG to see if site throws any error which would make Rank Math to not function properly. I disabled it again and now the site is not showing any error.

    Please let us know when we should debug this issue.

    Looking forward to helping you. Thank you.

    Hi Guys, I appreciate your help in restoring the site during peak hours and I apologize but I should have told you in advance.

    You can do debugging during the following hours

    1:00 AM – 07:30 AM Eastern Standard Time (New York)

    Please let me know if you need anything from. The issue is weird, I read somewhere that Jetpack might cause the issue so I removed it but still noindex issue on woomerce pages.
    Thanks a million
    Malik

    Hello,

    After debugging the issue on your site, I found the Woocommerce One Page Checkout plugin is causing the problem. When that plugin is active, shop and single product pages are also considered as the checkout page. I’ve forwarded this issue to our Development team, they will further debug this issue and fix it in the upcoming update.

    For now, to fix it on your site, I added following code on line 200 in /wp-content/plugins/seo-by-rank-math/includes/modules/woocommerce/class-woocommerce.php file:

    
    if ( function_exists( 'is_wcopc_checkout' ) && is_wcopc_checkout() ) {
        return $robots;
    }
    

    Now, the shop and single product pages on your site is not showing noindex.

    Hope that helps. Thank you.

Viewing 15 replies - 1 through 15 (of 17 total)

The ticket ‘Woocommerce product and shop page noindex in search console’ is closed to new replies.