No index tags and author pages

My tags and author pages are indexed on google, but google forum says to noindex them. I am using casper theme, can anyone help me where to put in the theme. Also i have read somewhere that if your noindex item is still in sitemap, google search console shows it as an error.Is is true?

Here is a guide for robots.txt configuration:

Thanks for reply but in this guide it doesnt tell where to put noindex code in casper theme. I want to no index my tags and author page.

You can also go to the specific post or page and add a Code Injection. Post the following code into the Page Header or Post Header:

<meta name="robots" content="noindex">

@brightthemes as stated on the guide you mentioned: Can I use robots.txt to keep certain pages from being indexed by Google? Despite popular belief, this is not recommended by Google.

Although a bit late, I hope this response helps. :grinning:

I was hoping to look at this guide but I guess it’s been taken down. Anyone know if there’s something posted somewhere else about how to tweak the robots.txt file in Ghost?