Why is Google not indexing woocommerce pages

#305199
  • Resolved Ctp Disc
    Rank Math free

    Hi I just spent months building a 500+ product woocommerce site. I’ve connected Google Analytics and Google Console. It has excluded all store pages. I have looked at the robots.txt and the index status and all looks good. Please help find a solution so all my product pages are indexed. The website is ctpdisc.com

    Thank you,
    Eric

Viewing 6 replies - 1 through 6 (of 6 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    I checked the page source, the website and products are correctly set to index.

    I checked the sitemap, two variations of the sitemap are returning 200 status, you can check using https://httpstatus.io/:
    sitemap

    Please ensure that only 1 version of the sitemap is working (200 status), and the rest are redirecting to it.

    Please follow the steps in this link:
    https://rankmath.com/kb/couldnt-fetch-error-google-search-console/#5-check-for-the-correct-version-of-the-sitemap and redirect to the correct version.

    Then, ensure that the sitemaps are excluded from caching, you can follow this guide:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    Once done, resubmit the sitemap_index.xml in the Search Console.

    Then edit the robots.txt and replace the robots.txt with the default one:

    User-Agent: *
    Disallow: /wp-admin/
    Allow: /wp-admin/admin-ajax.php
    
    Sitemap: https://ctpdisc.com/sitemap_index.xml

    You can edit the robots.txt file with Rank Math by going to Rank Math > General settings > Edit Robots.txt

    Here is a guide for your reference:
    https://rankmath.com/kb/how-to-edit-robots-txt-with-rank-math/

    However, please note that crawling and indexing of the website depends on the authority and crawl budget of the website.

    It is completely upto Google if they want to index or not index your website. So, if you haven’t willingly or accidentally made your posts noindex and Google still isn’t indexing your page – it means that either Google doesn’t want to index or hasn’t crawled your page yet because it hasn’t allocated that much crawl budget to your website.

    Please check this website for more details.

    I hope this helps.

    Don’t hesitate to get in touch if you have any other questions.

    Hello,

    Sure, let us know how this goes.

    Meanwhile, please don’t hesitate to contact us anytime if you have other questions to assist you further with anything else.

    Looking forward to helping you.

    Thank you.

    Nothing has changed. Google will not index my woocomerce store. 459 pages are still not being indexed. Only 10 pages are being indexed. Please advise. Thank you, Eric

    Prabhat
    Rank Math agency

    Hello,

    I searched the indexed pages of your website in the last 24 hours and the pages are already getting indexed. Please have a look at this screenshot for a quick reference: https://i.rankmath.com/RcENnT

    As the pages are already getting indexed, I suggest you give Google some more time as crawling and indexing of pages can take time.

    I also checked the robots.txt file on your website and the sitemap URL is added in the same line as the allow statement.

    Please move the sitemap URL to a new line at the end of the file.

    With that being said, could you please check the coverage report under your Google Search Console account to see if there are any errors shown?

    Looking forward to hearing back from you.

    Thank you.

    Hi,

    I copy/pasted the robots file as you had it. It is on a separate line in the settings. How can I make the sitemap reference in the robots file go on separate line?

    As far as I can tell, every product has 5 warnings for (Indexed, not submitted in sitemap):
    – Missing Field “brand”
    – Missing Field “aggregaterating”
    – Missing Field “sku”
    – Missing Field “review”
    – No global identifier provided (e.g,gtin, mpn, isbn)

    It also mentions that breadcrumbs and mobile friendly are valid

    Coverage currently has 19 valid and 487 excluded

    Note: every product has a sku and a barcode. Every product in Woo settings has a review and an aggregate Rating set-up.

    How long would estimate Google will have entire site indexed?

    Thank you,
    Eric

    Azib Yaqoob
    Rank Math business

    Hello,

    Please make sure that there is no robots.txt file already present on your site’s directory by accessing it via FTP. You save the changes to the Robots.txt as suggested by my colleague in the previous replies.

    To solve the product schema warning, please follow these steps:

    Rank Math takes the schema data from your product pages automatically and turns it into Schema-ready content. Likewise, the aggregateRating and review fields are taken from your actual product reviews that your buyers/customers leave on your products.

    If you don’t have any reviews yet, that is going to show up as a warning in the schema testing tool. That’s because Google will actually look for those fields.

    Please acquire some reviews and ratings to get rid of the aggregateRating and review warnings.

    You can fix the SKU and availability issue easily as well:

    To fix the brand warning, head over to WordPress Dashboard > Rank Math > General Settings > WooCommerce and choose from any of the available fields to use as your product’s brands.

    Brand Value

    If you want to use a custom value for your Brands, you can do that by using the following code in your theme’s functions.php file:

    // Add Brand for Products.
    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
    $entity['brand'] = 'Rank Math';
    return $entity;
    });

    Replace the “Rank Math” text with your actual brand name then run your website through the Structured Data Testing tool once again.

    How long would estimate Google will have entire site indexed?

    It depends on the crawl budget Google assigns to each website based on how frequently a site gets updated. It is hard to predict when or how Google will crawl and index your site pages but if you follow the best SEO practices, pages will likely get indexed faster.

    We hope that answers your question. Please feel free to reach out to us again if you need further assistance, we are here to help.

    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 6 replies - 1 through 6 (of 6 total)

The ticket ‘Why is Google not indexing woocommerce pages’ is closed to new replies.