I noticed that Google indexed http://www.sitename/author/admin/ page. I don’t want such a page to be indexed as am the only author of the content so this is not necessary. How do I stop search engine from indexing author page or how I just get rid of the author pages compeltely?
Yes, that is the third option. Probably the simplest. Didn’t occur to me. Already using robots.txt. I could probably even redirect it. Would this be the correct parameter /wp-content/themes/preference/author.php? Am not sure if am suppose to block specific .php and if this one is the php.
But if I wanted to destroy all references to above URL so the page doesn’t exist, I would presumably need to delete some lines from which .php file?
That, I’m not sure of because WordPress does everything slightly different from what I’m used to. You may want to do some forum search or on Google how to block pages with robots.txt on WordPress.