Hello,
We apologize for the issues you are facing with the add-to-cart URLs still being indexed in Google Search Console (GSC). It seems that you have already implemented the necessary rules in your robots.txt file and added a filter to set the robots meta for those URLs.
Here are a few steps you can take to troubleshoot this issue:
-
Verify Robots.txt: Ensure that your robots.txt file is correctly configured and accessible. You can check it by visiting `https://rankmath.com/kb/wordpress-hooks-actions-filters/#rank-math-php-file in your browser.
-
Check for Caching: Sometimes, caching plugins can interfere with changes made to the robots.txt file or the meta tags. If you are using any caching plugins, try clearing the cache and see if that resolves the issue.
-
Inspect URL in GSC: Use the URL Inspection Tool in Google Search Console to check how Google sees the specific URLs. This tool can provide insights into whether the noindex directive is being recognized.
-
Re-submit Sitemap: After making changes, re-submit your sitemap in GSC to prompt Google to re-crawl your site. Ensure that your sitemap does not include the add-to-cart URLs.
-
Wait for Re-crawl: Keep in mind that it may take some time for Google to re-crawl and update its index after changes are made.
If these steps do not resolve the issue, we recommend replying to your ticket so a human agent from the Rank Math Support team can assist you further with this specific problem.
Thank you for raising this concern!
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
This 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,
Thank you for your query and we are so sorry about the trouble this must have caused.
The robots meta is correctly applied, but please note it’s ultimately up to Google whether it decides to keep the URL indexed. We recommend:
1. Submitting the affected URL in your Google Search Console’s URL Inspection tool to see where Google is discovering it from.
2. Checking the referring page and updating/removing any unwanted links pointing to those URLs.
3. Using Google’s URL Removal Tool to request faster removal if needed.
Please give that a try and let us know if you need further assistance.