Title: Modify robots.txt
Last modified: April 17, 2020

---

# Modify robots.txt

 *  Resolved [coolicious](https://wordpress.org/support/users/coolicious/)
 * (@coolicious)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/modify-robots-txt/)
 * Hey guys,
 * thx for this beautiful plugin which I use on all of my websites. But one thing
   I cant find to do some things: How and where can I modify my robots.txt?
 * I want to disallow the search string “?s=”. Can you tell me that?
 * Thank you!
 * Best regards,
    Tom

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/modify-robots-txt/#post-12689781)
 * Hi Tom,
 * I’m glad to see you’re still around after all these years 🙂
 * TSF should block the `/?s={term}` and `/search/{term}` requests automatically
   when you’ve set `noindex` for search pages via the general settings.
 * But, if you still want to disallow that query-string via robots.txt, then you
   can do that by supplying a custom robots.txt file in the root folder of your 
   website via FTP. That file will override the output TSF brings otherwise.
 * If you’d rather do that programmatically, [please check out this filter](https://theseoframework.com/docs/api/filters/#add-robots-txt-rules);
   it allows you to append custom rules to the virtual output, or even override 
   it completely.
 * Now, we’re still considering making a UI-powered option available for this. Feel
   free to add your voice to the active issue: [https://github.com/sybrew/the-seo-framework/issues/59](https://github.com/sybrew/the-seo-framework/issues/59)
 * I hope this helps 🙂 Cheers!
 *  Thread Starter [coolicious](https://wordpress.org/support/users/coolicious/)
 * (@coolicious)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/modify-robots-txt/#post-12691899)
 * Nice, thank you!
 * That rly helps 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Modify robots.txt’ is closed to new replies.

 * ![](https://ps.w.org/autodescription/assets/icon.svg?rev=3000376)
 * [The SEO Framework – Fast, Automated, Effortless.](https://wordpress.org/plugins/autodescription/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autodescription/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autodescription/)
 * [Active Topics](https://wordpress.org/support/plugin/autodescription/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autodescription/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autodescription/reviews/)

## Tags

 * [robots.txt](https://wordpress.org/support/topic-tag/robots-txt/)

 * 2 replies
 * 2 participants
 * Last reply from: [coolicious](https://wordpress.org/support/users/coolicious/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/modify-robots-txt/#post-12691899)
 * Status: resolved