Fuzzify Search – Add Instant Search Results for Static Sites
Search for static WordPress sites, and typo-tolerant instant search for live ones. Fuzzify Search writes one JSON index of your content and searches it in the visitor’s browser with Fuse.js , an established open-source fuzzy-search library. Nothing runs on your server at search time, so it keeps wor
Search for static WordPress sites, and typo-tolerant instant search for live ones.
Fuzzify Search writes one JSON index of your content and searches it in the visitor’s browser with Fuse.js , an established open-source fuzzy-search library. Nothing runs on your server at search time, so it keeps working in a static HTML export, where WordPress’ own search, admin-ajax.php and live-search plugins that ask the server for results have nothing to talk to.
It suits live dynamic sites too: an instant results dropdown on your existing search boxes, typos forgiven, results you rank yourself, and no external service or account.
Free, with nothing to sell. There is no Pro version and no upsell. Nothing a visitor types is sent to your server or to anyone else. The browser downloads the index file from your own site once, and searches it locally.
Built for static exports
- Tested with the free Simply Static plugin. The index is rebuilt at the start of each export and included in it, together with the results page and the plugin’s scripts. Simply Static Pro is not needed. If you want extended search operators or pattern-based URL exclusion, Simply Static Pro’s own Fuse.js integration covers those.
- After an export, search works with PHP switched off: the dropdown, the results page, and old /?s=term addresses, which are forwarded to the results page.
- Addresses are relative to the site root, so links still work when the static export is published on a different domain than WordPress itself runs on, which is the normal case for a static-site workflow.
- Only Simply Static hooks in automatically. With another exporter, add the index file to the export yourself; its address is shown on the settings screen.
Search
- Enhances the default WordPress search and the core Search block directly, the moment it’s active: an instant results dropdown on the search box already there, no new widget or shortcode needed.
- An instant results dropdown on every standard WordPress search field.
- Typos are forgiven in titles, categories and tags, and SKUs. Every word typed must match.