PHPackages                             bradp/one-search-result - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Search &amp; Filtering](/categories/search)
4. /
5. bradp/one-search-result

ActiveWordpress-plugin[Search &amp; Filtering](/categories/search)

bradp/one-search-result
=======================

Automatically send a user to the page or post if it's the only search result available

1.1.0(4y ago)9147[1 issues](https://github.com/bradp/one-search-result/issues)GPL-2.0-or-laterPHP

Since Aug 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/bradp/one-search-result)[ Packagist](https://packagist.org/packages/bradp/one-search-result)[ RSS](/packages/bradp-one-search-result/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (2)Used By (0)

One Search Result
=================

[](#one-search-result)

> A WordPress plugin to automatically send a user to the page or post if it's the only search result available.

When there is only one search result available for a query, automatically redirect the user to that result.

This will work with any theme and any posts, pages, or custom post types that would be shown in search results.

Available Filters
-----------------

[](#available-filters)

You can filter `one_search_result_pre_check` to false if you need to short-circuit and disable the redirect dynamically.

You can modify the redirect code with `once_search_result_redirect_code`, defaults to 302.

Changelog
---------

[](#changelog)

### 1.1.0

[](#110)

- Added another filter, cleaned up code.

### 1.0.3

[](#103)

- Initial release

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1723d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/66798?v=4)[Brad Parbs](/maintainers/bradp)[@bradp](https://github.com/bradp)

---

Top Contributors

[![bradp](https://avatars.githubusercontent.com/u/66798?v=4)](https://github.com/bradp "bradp (16 commits)")[![ImgBotApp](https://avatars.githubusercontent.com/u/31427850?v=4)](https://github.com/ImgBotApp "ImgBotApp (1 commits)")

---

Tags

searchwordpresswordpress-plugin

### Embed Badge

![Health badge](/badges/bradp-one-search-result/health.svg)

```
[![Health](https://phpackages.com/badges/bradp-one-search-result/health.svg)](https://phpackages.com/packages/bradp-one-search-result)
```

###  Alternatives

[ruflin/elastica

Elasticsearch Client

2.3k50.4M202](/packages/ruflin-elastica)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M64](/packages/opensearch-project-opensearch-php)[mailerlite/laravel-elasticsearch

An easy way to use the official PHP ElasticSearch client in your Laravel applications.

934529.3k2](/packages/mailerlite-laravel-elasticsearch)[massive/search-bundle

Massive Search Bundle

721.4M13](/packages/massive-search-bundle)[shyim/opensearch-php-dsl

OpenSearch/Elasticsearch DSL library

175.9M9](/packages/shyim-opensearch-php-dsl)[outl1ne/nova-multiselect-filter

Multiselect filter for Laravel Nova.

45802.7k3](/packages/outl1ne-nova-multiselect-filter)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
