codehaven - php snippets - coding help
Generic filters
Exact matches only

Prevent Author from being indexed on Google using robots.txt

6th July 2020


SEO category

To prevent Google from spidering your authors you can add a robots.txt file.
Just add this to your robots.txt file.

Another way of doing this is by adding a script to the functions file – Stop author and category from being indexed

Was this code snippet helpful?