Example Robots.txt for WooCommerce Site

I’ve built an eCommerce site using WooCommerce and noticed that categories, vendors etc are being indexed. I wanted to ask if there are any good examples for WooCommerce stores Robots.txt so I an implement to avoid content being crawled in Google or other search engines.

Hey @paullalley,

I’m sorry but we don’t have the information you need as it’s not theme related. You might want to post in our Peer to Peer forum instead to get an idea from other users.

Thanks.

Most SEO plugins will have CPT and Taxonomy settings for appearing in search results. Yoast, for example, will remove items from the sitemap and set a noindex meta tag on the content types you set to not appear in search results.

Hi @paullalley,

I second what Michael said, please check out Yoast SEO, it has an option to hide certain taxonomies. More details on the following link.

Cheers!

Thanks team for confirming this, I found it last night.

You’re welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.