How to stop Google from indexing tag and category?



Even I have set Yoast Seo Pluign to stop Google from indexing tag and category.


Go to Yoast SEO plugin > Search Appearance > Tags > Set Noindex / Hide from the Search results



I did it already.


You need to wait for a month, it will get noindex automatically.


Actually, I did it. That’s why I mention the 24 Nov article. I did it in the beginning of the November.

Should I need to put some code in my robots.txt file?


No. Never.

You can remove it another ways (quickly)

Go to Search console > Remove URLS and enter tag path > Hide directory


I will apply this.

Thanks! for your support.


You’re welcome!