-
Dear Support Team
I hope this message finds you well.
Recently, I noticed some issues flagged as “Excluded by ‘noindex’ tag” in Google Search Console. While I understand this might be a common issue, I was concerned to see it affecting the following URLs:
https://thesmmexpert.com/post-sitemap6.xml
https://thesmmexpert.com/post-sitemap3.xml
https://thesmmexpert.com/page-sitemap.xml
https://thesmmexpert.com/post-sitemap2.xml
https://thesmmexpert.com/post-sitemap1.xml
https://thesmmexpert.com/post-sitemap5.xml
https://thesmmexpert.com/sitemap_index.xml
Could you please guide me on how to resolve these issues? Any advice or recommended steps would be greatly appreciated.Thank you for your support, and I look forward to your response.
Best regards,
Abdul Halim
-
Hello,
We apologize for the issue you are facing with the "Excluded by ‘noindex’ tag" in Google Search Console. Thank you for raising this concern.
To resolve this issue, you can follow these steps:
-
Identify Affected Pages: In Google Search Console, navigate to the Pages section and click on Not indexed. Then, click on the “Excluded by ‘noindex’ tag” status to see a list of all affected pages.
-
Remove the NoIndex Tag: For each page that you want to be indexed, you need to remove the
noindex
meta tag from the page’s HTML code. This can often be done through your SEO plugin settings or directly in the page’s HTML.
-
Check Plugins and Themes: Sometimes, plugins or themes may add
noindex
tags unintentionally. Review your active plugins and theme settings to ensure none are adding this tag. -
Search Engine Visibility Settings: Go to Settings → Reading in your WordPress dashboard. Ensure that the checkbox labeled Discourage search engines from indexing this site is unchecked.
-
Check Index Status in Rank Math: You can also check the index status under Rank Math SEO → Analytics → Index Status tab to get real-time data about your pages and their indexing status.
-
Submit Sitemap: After making these changes, consider resubmitting your sitemap in Google Search Console to prompt re-crawling of your pages.
For more detailed guidance, you can refer to our article on how to fix the “Excluded by NoIndex Tag” error in Google Search Console.
If you have any further questions or need additional assistance, please reply to this ticket, and a human agent from our support team will be happy to help you further.
Thank you for your understanding, and we hope this helps resolve your issue!
Sources:
Fix Excluded by NoIndex Tag – Google Search Console Status » Rank Math
Fix Excluded by NoIndex Tag – Google Search Console Status » Rank MathThis is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.
Hello,
Please note that sitemaps are by default set to Noindex as they are meant to be crawled and not to be displayed on search results pages.
You should only submit your sitemap to the sitemap section of your GSC account and if Google can fetch the sitemap, you don’t have to worry.
https://rankmath.com/kb/submit-sitemap-to-google/In case, you’re facing this error on the page indexing section, you can safely ignore this.
Hope that helps and please don’t hesitate to let us know if you have any other questions.
Thank you.Can you tell me how do I fix it?
Does Rankmath have a default option to block these issues 1) /?add-to-cart=175&filter_color=red 2) ?remove_item=228817faf36305ff344e4d7cbe4dc222&_wpnonce=df26908d1f
3) ?add_to_wishlist=2835&_wpnonce=0eeff03928these are created problems in GSC
Hello,
These are pages that are dynamically generated from Woocommerce and they are set for indexing by default. You can block Google from accessing them by using the following robots.txt directives:
User-agent: * Disallow: *add-to-cart=* Disallow: * filter_color=* Disallow: * add_to_wishlist=*
Here’s how you edit your robots.txt in Rank Math plugin: https://rankmath.com/kb/how-to-edit-robots-txt-with-rank-math/
You can also make use of the filter code below to set them to
noindex
in their robots meta:add_filter('rank_math/frontend/robots', function ($robots) { $excluded_params = [ 'add-to-cart', 'filter_color', 'add_to_wishlist' ]; $url = home_url($_SERVER['REQUEST_URI']); foreach ($excluded_params as $param) { if (strpos($url, '?' . $param . '=') !== false || strpos($url, '&' . $param . '=') !== false) { $robots['index'] = 'noindex'; $robots['follow'] = 'nofollow'; break; } } return $robots; });
You may refer to this guide on how to add filters to your website: https://rankmath.com/kb/wordpress-hooks-actions-filters/
Hope that helps.
I noticed that Google suddenly stopped crawling almost all posts and products. Could this be due to an exclude by no-index tag issue?
Here’s the GSC screenshot for reference: https://prnt.sc/cc5VjANLXoa9
Why is this happening, and how can I fix it? The links are still available on Google, but I don’t see any keywords in the search results.
Looking forward to your insights.
Best regards,
Hello,
In this case, you should check your Google Search Console > Indexing > Pages section to determine any issues reported on your URLs that may have prevented your site from being indexed:
https://support.google.com/webmasters/answer/7440203?hl=enTo better understand the status reported, you may refer to our guide here:
https://rankmath.com/kb/url-inspection-api-integration/#not-indexedLooking forward to helping you.
Alright.
Another question:
why do my website images get a no-index tag? How do I fix it?
Here is the screenshot “https://prnt.sc/ST5N-LFH0-bB”Hello,
The screenshot you’ve shared is an attachment page, not your actual image.
When you upload a media file to the WordPress Media Library, WordPress creates a separate media attachment page for each individual file, and having the attachment pages as “noindex” or redirecting to the parent page is actually the preferred method to handle those and we mention the same here: https://rankmath.com/kb/should-you-redirect-attachments/
Hope that helps and please don’t hesitate to let us know if you have any other questions.
Thank you.I want to block some queries using the robots.txt file. And already did. When It test using https://rankmath.com/tools/robots-txt/, it says allow.
I use this format:
Disallow: /*?showtype=
Disallow: /*?wptouch_switch=
Disallow: /*?add_to_wishlist=
Disallow: /*?orderby=
Disallow: /*?add-to-cart=
Disallow: /*?product-page=
Disallow: /*?per_page=
Disallow: /*?remove_item=
Disallow: /*?amp
Disallow: /feed/
Disallow: /*/feed/
Disallow: /*?feed=above are correct format?
Hello,
Adding the
Allow: /
directive will render the aboveDisallow
rules useless:Please remove the
Allow: /
rule as this is not needed.Don’t hesitate to get in touch with us if you have any other questions.
My question wasn’t that.
My question was is this right format
Disallow: /*?showtype=
Disallow: /*?wptouch_switch=
Disallow: /*?add_to_wishlist=
Disallow: /*?orderby=
Disallow: /*?add-to-cart=
Disallow: /*?product-page=
Disallow: /*?per_page=
Disallow: /*?remove_item=
Disallow: /*?amp
Disallow: /feed/
Disallow: /*/feed/
Disallow: /*?feed=Also I am talking about “https://buysocialaccounts.com/robots.txt”
Hello,
Please share some exact URLs of your website, which you want to block, so that we can confirm if the rules on your robots.txt file are correct or not.
Looking forward to helping you.
Thank you.
-
You must be logged in to reply to this ticket.