Ticket #1888 (closed enhancement: fixed)
disable search module
| Reported by: | veris | Owned by: | franck |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | module:core | Version: | 2.6.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
just want disable and add google search
and
I think this could create load when a large number of requests
ps fully disable, so that ?q= gave 404
Change History
comment:2 Changed 12 years ago by veris
on homepage
Forbidden
You don't have permission to access / on this server.
comment:4 Changed 12 years ago by veris
i think this must be in core... in blog settings (disable search)
comment:5 Changed 10 years ago by franck
- Owner changed from team to franck
- Milestone changed from A definir to 2.8
comment:6 Changed 10 years ago by franck <carnet.franck.paul@…>
- Status changed from new to closed
- Resolution set to fixed
(In [1c346de31ad1]) Add an blog option to disable internal search (404 on ?q= queries, search widget hidden), fixes #1888
Note: See
TracTickets for help on using
tickets.

I believe this could be handled by a rewrite rule
RewriteCond %{QUERY_STRING} !^q=.*$ RewriteRule .* - [F]