Title: One Search Result
Author: Brad Parbs
Published: <strong>28. maj, 2021</strong>
Last modified: 20. august, 2021

---

Søg plugins

![](https://ps.w.org/one-search-result/assets/banner-772x250.png?rev=2586104)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/one-search-result/assets/icon-256x256.jpg?rev=2586104)

# One Search Result

 Af [Brad Parbs](https://profiles.wordpress.org/bradparbs/)

[Download](https://downloads.wordpress.org/plugin/one-search-result.1.1.0.zip)

 * [Detaljer](https://da.wordpress.org/plugins/one-search-result/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/one-search-result/#reviews)
 * [Udvikling](https://da.wordpress.org/plugins/one-search-result/#developers)

 [Support](https://wordpress.org/support/plugin/one-search-result/)

## Beskrivelse

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

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.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“One Search Result” er open source-software. Følgende personer har bidraget til 
dette plugin.

Bidragsydere

 *   [ Brad Parbs ](https://profiles.wordpress.org/bradparbs/)
 *   [ surfboards ](https://profiles.wordpress.org/surfboards/)

[Oversæt “One Search Result” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/one-search-result)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/one-search-result/),
tjek [SVN repository](https://plugins.svn.wordpress.org/one-search-result/), eller
abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/one-search-result/)
via [RSS](https://plugins.trac.wordpress.org/log/one-search-result/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.1.0

 * Added another filter, cleaned up code.

#### 1.0.3

 * Initial release

## Meta

 *  Version **1.1.0**
 *  Senest opdateret **5 år siden**
 *  Aktive installationer **Færre end 10**
 *  WordPress-version ** 5.2 eller højere **
 *  Testet op til **5.8.19**
 *  PHP-version ** 5.6 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/one-search-result/)
 * Tags
 * [content](https://da.wordpress.org/plugins/tags/content/)[redirects](https://da.wordpress.org/plugins/tags/redirects/)
   [results](https://da.wordpress.org/plugins/tags/results/)[search](https://da.wordpress.org/plugins/tags/search/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/one-search-result/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Din anmeldelse](https://wordpress.org/support/plugin/one-search-result/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/one-search-result/reviews/)

## Bidragsydere

 *   [ Brad Parbs ](https://profiles.wordpress.org/bradparbs/)
 *   [ surfboards ](https://profiles.wordpress.org/surfboards/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/one-search-result/)