Title: Disable URL Autocorrect Guessing
Author: haukep
Published: <strong>21. maj, 2014</strong>
Last modified: 19. september, 2020

---

Søg plugins

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://s.w.org/plugins/geopattern-icon/disable-url-autocorrect-guessing.svg)

# Disable URL Autocorrect Guessing

 Af [haukep](https://profiles.wordpress.org/haukep/)

[Download](https://downloads.wordpress.org/plugin/disable-url-autocorrect-guessing.2.0a.zip)

 * [Detaljer](https://da.wordpress.org/plugins/disable-url-autocorrect-guessing/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/disable-url-autocorrect-guessing/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/disable-url-autocorrect-guessing/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/disable-url-autocorrect-guessing/#developers)

 [Support](https://wordpress.org/support/plugin/disable-url-autocorrect-guessing/)

## Beskrivelse

This plugin disables WordPress’ URL autocorrection guessing feature.
 If you for
example enter the URL `http://www.myblog.com/proj` you won’t be redirected to `http://
www.myblog.com/project-2013` anymore.

This plugin is based on the example here: https://core.trac.wordpress.org/ticket/
16557

## Installation

 1. Upload `disable-url-autocorrect-guessing.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Anmeldelser

![](https://secure.gravatar.com/avatar/d55fbacef608462c61cbd5fdc4b50c977ec8e5ce131c62a391f79357d19d0b6e?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-38283/)󠁿

 [reystub](https://profiles.wordpress.org/reystub/) 11. januar, 2024

This plugin works well on my WordPress 6.4.2 site Thanks Hauke, this is very helpful
for the very confidential site I'm working on.

![](https://secure.gravatar.com/avatar/5da663d28083486dc2d1df4ad86e20717606b3e8f732b7a4b950089d0c65cdc0?
s=60&d=retro&r=g)

### 󠀁[Great!](https://wordpress.org/support/topic/great-14003/)󠁿

 [Liang](https://profiles.wordpress.org/liang1216/) 27. november, 2021

Great plugin.

![](https://secure.gravatar.com/avatar/537a16cbeaaf32acf348399ac9947be6e43c4e16578b31cdd1fecc02158389e1?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-8774/)󠁿

 [Harry](https://profiles.wordpress.org/dibbyo456/) 16. september, 2021

perfect

![](https://secure.gravatar.com/avatar/9c4928edc97c7bc1fbcc1caa39bd7a7de114a2f6620881da4bbf773ac9593f98?
s=60&d=retro&r=g)

### 󠀁[it works](https://wordpress.org/support/topic/it-works-2078/)󠁿

 [bloup](https://profiles.wordpress.org/bloup/) 13. marts, 2021

It works well.

![](https://secure.gravatar.com/avatar/51cbfd3f9f1c839222810f1c06c5bee18cf0e6e7bd3346f05755251eb27ee4d8?
s=60&d=retro&r=g)

### 󠀁[Must have plugin works in WP 5.4.2](https://wordpress.org/support/topic/must-have-plugin-works-in-wp-5-4-2/)󠁿

 [ctrlaltdelete](https://profiles.wordpress.org/ctrlaltdelete/) 16. juli, 2020

This is a must have. WP guesses the most wild things without it. I found thousands
of random urls on google, none exists. This plugin makes them 404. like they always
should. A new hook will be added in 5.5 add_filter( 'do_redirect_guess_404_permalink','
__return_false' ); https://make.wordpress.org/core/2020/06/26/wordpress-5-5-better-
fine-grained-control-of-redirect_guess_404_permalink/ Until then. Must have!

![](https://secure.gravatar.com/avatar/8c0ae0265f68747affbd2673db76b32573825180451a018277653c5aecaa75de?
s=60&d=retro&r=g)

### 󠀁[Not working for me](https://wordpress.org/support/topic/not-working-for-me-196/)󠁿

 [alikgriffin](https://profiles.wordpress.org/alikgriffin/) 19. oktober, 2017

It’s pretty horrible that wordpress auto-guesses a url because it will break pagination
when category pages are auto-guessed and that leads to lots of internal 404s by 
webmasters. I got this plugin working and it solved all my problems. Just make sure
you purge any cdn and cache. I think it also might conflict with some Drupal to 
Wordpress migration plugins, so you'll have to disable those eventually.

 [ Læs alle 12 anmeldelser ](https://wordpress.org/support/plugin/disable-url-autocorrect-guessing/reviews/)

## Bidragsydere & udviklere

“Disable URL Autocorrect Guessing” er open source-software. Følgende personer har
bidraget til dette plugin.

Bidragsydere

 *   [ haukep ](https://profiles.wordpress.org/haukep/)

“Disable URL Autocorrect Guessing” er blevet oversat til 1 sprog. Tak til [oversætterne](https://translate.wordpress.org/projects/wp-plugins/disable-url-autocorrect-guessing/contributors)
for deres bidrag.

[Oversæt “Disable URL Autocorrect Guessing” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/disable-url-autocorrect-guessing)

### Interesseret i udvikling?

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

## Ændringslog

#### 2.0

Since ticket https://core.trac.wordpress.org/ticket/16557 is solved now, the implementation

was changed to use the filter do_redirect_guess_404_permalink as provided in the
example here: https://make.wordpress.org/core/2020/06/26/wordpress-5-5-better-fine-
grained-control-of-redirect_guess_404_permalink/

#### 1.1

Added check for `$_GET['p']` to allow `rel=shortlink` according to comment of user
esemlabel:
 https://core.trac.wordpress.org/ticket/16557#comment:28

#### 1.0

First (and possibly last) version.

## Meta

 *  Version **2.0**
 *  Senest opdateret **6 år siden**
 *  Aktive installationer **1.000+**
 *  WordPress-version ** 5.5 eller højere **
 *  Testet op til **5.5.23**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/disable-url-autocorrect-guessing/)
   og [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/disable-url-autocorrect-guessing/).
 *  [Oversæt til dit sprog](https://translate.wordpress.org/projects/wp-plugins/disable-url-autocorrect-guessing)
 * Tags
 * [autocorrect](https://da.wordpress.org/plugins/tags/autocorrect/)[canonical](https://da.wordpress.org/plugins/tags/canonical/)
   [redirect](https://da.wordpress.org/plugins/tags/redirect/)[url](https://da.wordpress.org/plugins/tags/url/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/disable-url-autocorrect-guessing/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  12 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/disable-url-autocorrect-guessing/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/disable-url-autocorrect-guessing/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/disable-url-autocorrect-guessing/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/disable-url-autocorrect-guessing/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/disable-url-autocorrect-guessing/reviews/?filter=1)

[Din anmeldelse](https://wordpress.org/support/plugin/disable-url-autocorrect-guessing/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/disable-url-autocorrect-guessing/reviews/)

## Bidragsydere

 *   [ haukep ](https://profiles.wordpress.org/haukep/)

## Support

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

 [Vis supportforum](https://wordpress.org/support/plugin/disable-url-autocorrect-guessing/)