Product Tag Pages Still Indexed

#666515
  • Resolved Anonymous
    Rank Math free

    Hi there
    So Ive set the product tag pages to be not indexed using rank math
    This has been on for a while now
    Why is it that Im still finding product tag pages being indexed within google search console
    How do i exclude these pages from my site map

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    I apologize for the issue you’re facing with your product tag pages being indexed despite setting them to not be indexed using Rank Math.

    To exclude these pages from your sitemap, you can follow these steps:

    1. Go to your WordPress dashboard and navigate to Rank Math SEO.
    2. Click on Sitemap Settings.
    3. Scroll down to the General tab and locate the Exclude Taxonomies section.
    4. In the Exclude Taxonomies field, enter the taxonomy name for your product tags (e.g., “product_tag”).
    5. Save your changes.

    By excluding the taxonomy for your product tags from the sitemap, these pages will no longer be included in the sitemap and will not be indexed by search engines.

    If you have already performed these steps and the product tag pages are still being indexed, it’s possible that there may be other factors at play. In such cases, I recommend reaching out to our dedicated support team by clicking here. They will be able to investigate the issue further and provide you with a solution.

    Please let me know if there’s anything else I can assist you with.

    Thank you for using Rank Math!

    Sources:
    Fix Excluded by NoIndex Tag – Google Search Console Status » Rank Math
    How to NoIndex Paginated Pages » Rank Math
    Is Your Site the Victim of Internal Site Search Spam? » Rank Math
    How to Fix the Submitted URL Seems to Be a “Soft 404” Error » Rank Math

    Anonymous
    Rank Math free

    Hi There
    I`ve looked at your response and im a bit unsure of a few things
    When I looked at Google search console, it seemes that the tags im seeing is not product catogories but feed tag pages – where in rank math can i exclude them from being indexed.
    https://skylinegrower.com/tag/peace-lily/feed/

    Anonymous
    Rank Math free

    Hi There
    Ive added a loom video in the sensitive data area with regards to how to exclude things to be indexed in rank math

    Anonymous
    Rank Math free

    also id like to know i have a url https://www.skylinegrower.com/product/lechuza-cube-glossy-14-table-planter/?attribute_pa_color=white wich is exactly the same as another product page how do i tell Google not to use this version but the other one do i setup a redirect or state the cananonical url how do i do that

    Hello,

    The feed URLs are something Google shouldn’t crawl but somehow, it got discovered for indexing, hence you are receiving such report.

    You can disallow bots from crawling the feed URLs from the robots.txt file at WordPress Dashboard > Rank Math > General Settings > Edit Robots.txt

    You can do the same for the product attributes as well.

    User-Agent: *
    Disallow: */feed
    Disallw: *?attribute_pa_color=*

    2. Alternatively, you can add this code to make sure they are not indexed:

    add_filter('rank_math/frontend/robots', function ($robots) {
    	$url = home_url($_SERVER['REQUEST_URI']);
    	if ((strpos($url, '?attribute_pa_color=') !== false) || (strpos($url, '/feed') !== false)) {
    		$robots["index"] = 'noindex';
    		$robots["follow"] = 'nofollow';
    	}
    	return $robots;
    });

    You may refer to this guide on how to add filters to your website: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Once done, give Google some time to recrawl your site to reflect the changes.

    Hope that helps and please do not hesitate to let us know if you need my assistance with anything else.

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

The ticket ‘Product Tag Pages Still Indexed’ is closed to new replies.