• Resolved huangchengzi

    (@huangchengzi)


    Hello,

    I use woocommerce shortcodes on several of my webpages, such as the shopping cart, my account and checkout pages, [woocommerce_cart] [woocommerce_my_account][woocommerce_checkout], but Google says it cannot index them. It says it contains noindex tags.

    I checked the source code of these pages and found noindex, . Other pages that do not use woocommerce do not have noindex tags. I have changed the theme and disabled all SEO plugins, but it still happens.

    I hope you can help me solve this problem as soon as possible, thank you.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @huangchengzi,

    Thank you for reaching out.

    I understand your concern about Google not being able to index your WooCommerce pages due to noindex tags. This is quite unusual as WooCommerce shortcodes themselves don’t add noindex tags.

    However, it’s possible that the noindex tag might be coming from another source. You mentioned you’ve disabled all SEO plugins, which is a good start.

    I would recommend checking the settings in your WordPress Reading Settings. Ensure that the “Discourage search engines from indexing this site” option is unchecked.

    Let us know how this goes.

    Thread Starter huangchengzi

    (@huangchengzi)

    Hello,

    I have already checked this option, and “Block search engines from indexing this site” is no longer checked.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @huangchengzi

    Since you’ve confirmed that the “Block search engines from indexing this site” option is not checked, it’s clear this issue may not be directly related to WooCommerce or WordPress settings.

    The noindex tag could possibly be injected by another plugin, like your SEO plugin. Also, please check your .htaccess file, as it could be adding the no-index tag. If you’re not comfortable with this, you may need to contact your hosting provider or a web developer.

    Do keep us updated on your progress and we’ll be glad to assist further if needed.

    Thread Starter huangchengzi

    (@huangchengzi)

    Hi,

    I can’t find the .htaccess file. But I found the noindex tag in the webpage source code.

    What should I do to remove this tag?

    <meta name='robots' content='noindex, follow' />
    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @huangchengzi

    For better assistance, could you share a copy of your site’s System Status Report with us? You’ll find it at the top of the page under WooCommerce > Status > Select Get System Report and then Download for Support. This will download a TXT file containing the SSR’s contents to share with us.

    Once you have the System Status Report file, please send it with your reply or share it via Mozilla Community Pastebin and send the link here. Feel free to redact all the private information before sending it over.

    Meanwhile, are you using any SEO plugin? or is there any settings to make the page no index?

    Looking forward to hearing from you!

    Thread Starter huangchengzi

    (@huangchengzi)

    Hello,

    I have disabled all SEO plugins and downloaded this system report. I have checked all the settings and there is no problem.

    https://paste.mozilla.org/Mih5UctM

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @huangchengzi

    I have disabled all SEO plugins and downloaded this system report. I have checked all the settings and there is no problem.

    To make sure we are on the same page, do you mean that the issue has been resolved after disabling your All in One SEO, Yoast SEO and Rank Math SEO plugins?

    Looking forward to hearing from you!

    Thread Starter huangchengzi

    (@huangchengzi)

    Hello,

    I mean the problem still exists, after disabling all these SEO plugins.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @huangchengzi

    Apologies for overlooking your initial query. Actually, my account, cart, and checkout pages are unique to each customer accessing your site. Google doesn’t need to index these pages. This is why WooCommerce, by default, adds noindex for these pages. And this setup is best practice.

    Further reads: https://support.google.com/webmasters/thread/5286934/woocommerce-pages-cart-my-account-page-and-checkout-marked-noindex-not-sure-if-i-need-them-listed?hl=en

    However, if you’re still interested in getting these pages indexed, you can add this custom code snippet in your child themes’ functions.php file: https://gist.github.com/lukecav/d4219f0474ca3cca7c679c023dd7f32c

    I hope this helps! If you have any other questions, feel free to ask.

    Thread Starter huangchengzi

    (@huangchengzi)

    Hello,

    Thank you very much for your patient responses these days. I have figured out what to do now. I wish you a happy life and smooth work.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.