Search page added (server-side, no JavaScript)
The new search page works with a normal query parameter and includes basic abuse protection.
GoBlogger now includes a built-in search page at /search.
It is intentionally simple:
- server-side search (no JavaScript required)
- normal query parameter (
/search?q=your+term) - searches posts and pages
- checks title, description, excerpt, slug, and tags
The search link shows in the main nav by default. Set BLOG_ENABLE_SEARCH_NAV=false to hide it.
Query rules
To avoid wasteful requests and reduce abuse risk:
- minimum query length is 3 characters
- search requests are limited to one request every 10 seconds per IP
If the request is too fast, the server returns 429 Too Many Requests and a Retry-After header.
Why this approach?
The goal is a minimal, reliable search feature that works on simple hosting setups without extra services or client-side search scripts.