Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Avoid Google to index pages › Reply To: Avoid Google to index pages
May 13, 2018 at 8:22 am
#17845
Keymaster
Hi Miguel,
The plugin does not link to search pages, nor sends them to google to index. But if you want to explicitly avoid any search pages indexed, you can add this line to the robots.txt file in your website root directory:
[html]Disallow: /?s=
Disallow: /search/[/html]
Here is a great guide on how to set-up your robots.txt file: WordPress robots.txt guide