<p>Quickonetoday.IgotsickofsearchingforprogrammingquestionsandseeingAI-generatedscraped-from-stackoverflowclickfarmtrashpollutingtheresults,andIhappentouseapersonalSearXNGinstancethatnoclient-sideblacklistextensionontheplanetisgonnasupport,soIwentlookingtoseeifIcouldblacklisttheminSearXNGforliketheeighthtimeandfinallyfoundawayusingthehostnamereplaceplugin.Sohere's that, because I didn'tfindthisfeaturedocumentedofficiallyanywherebaran<ahref="https://github.com/searxng/searxng/discussions/970"target="_blank">issue</a>ontheGithubrepo.</p>
<h2>Howtodoit</h2>
<p>First,openupyourinstance's config file. If you installed it directly like I did, that'llprobablybe<code>/etc/searxng/settings.yml</code>.IfyouusedDocker,godhelpyou.Anyway,findthe<code>enabled_plugins:</code>sectionanduncommenttheentryfor<code>'Hostname replace'</code>,thenuncommenttheline<code>hostname_replace:</code>justbelowit.Underthereyou'llputyourblocks:</p>