Search Queries Banned Words

Post Reply
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Search Queries Banned Words

Post by happydg »

Hello,

I'm listing search queries on my site.

How to add a list of keywords to ban for search queries ( for example underage keywords )?


Thank you.
admin
Site Admin
Posts: 37197
Joined: Wed Sep 10, 2008 11:43 am

Re: Search Queries Banned Words

Post by admin »

rotation settings

Banned search words
ie if someone tries to search for those keywords we will return error 404
the same for tags (we have 7 keywords)
NOTE: you can use wildcards '*' and '?'. For example: 'someword' will search exectly for 'someword',
'someword?' will also trigger word like 'someword!'.
'someword*' for words like 'somewordhere',
and '*someword*' for 'mysomewordhere'
Don't forget to run script update
Markmilleru2
Posts: 1
Joined: Mon Oct 15, 2018 11:59 am

Re: Search Queries Banned Words

Post by Markmilleru2 »

admin wrote: Wed Aug 08, 2018 11:32 am rotation settings

Banned search words
ie if someone tries to search for those keywords we will return error 404
the same for tags(we have 7 keywords)
NOTE: you can use wildcards '*' and '?'. For example: 'someword' will search exectly for 'someword',
'someword?' will also trigger word like 'someword!'.
'someword*' for words like 'somewordhere',
and '*someword*' for 'mysomewordhere'
Hii admin is there a way to show a popup notice instead of 404
Last edited by Markmilleru2 on Sat Sep 07, 2019 8:10 am, edited 3 times in total.
admin
Site Admin
Posts: 37197
Joined: Wed Sep 10, 2008 11:43 am

Re: Search Queries Banned Words

Post by admin »

what url returns 404?
Don't forget to run script update
Billman
Posts: 1
Joined: Sat Oct 20, 2018 8:58 am

Re: Search Queries Banned Words

Post by Billman »

Is there a limit on how many words you can have banned btw?
Last edited by Billman on Tue Feb 04, 2020 9:56 am, edited 1 time in total.
Check out these tasty foods that boost testosterone if you want to become healthier.
admin
Site Admin
Posts: 37197
Joined: Wed Sep 10, 2008 11:43 am

Re: Search Queries Banned Words

Post by admin »

With DB limits , up to 64k by default
Don't forget to run script update
Post Reply