Regarding robots.txt file

I just saw that subscription confirmed page and 13th-page is indexed in Google and it is showing in sitelinks.


What should I do for this? I dont want such pages to indexed. I am updating my robots.txt file like below.

Disallow: /page/

is that OK?

You should also add no index tag to pages to avoid their indexing

1 Like

How to add no index tag? where?

You use yoast?

1 Like

Yes, I got it. At the end of the post there is option in Yoast setting whether to show the page to Google search engine or not.


Exactly! You are right. Else its just a simple meta tag so adding manually is also not difficult .

1 Like

Thanks for help.

1 Like