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

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/disable-url-autocorrect-guessing.svg)

# Disable URL Autocorrect Guessing

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

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

 * [Details](https://cor.wordpress.org/plugins/disable-url-autocorrect-guessing/#description)
 * [Reviews](https://cor.wordpress.org/plugins/disable-url-autocorrect-guessing/#reviews)
 *  [Installation](https://cor.wordpress.org/plugins/disable-url-autocorrect-guessing/#installation)
 * [Development](https://cor.wordpress.org/plugins/disable-url-autocorrect-guessing/#developers)

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

## Description

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

## Reviews

![](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/) Mis-Genver 11, 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/) Du 27, 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/) Gwynngala 16, 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/) Meurth 13, 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/) Gortheren 16, 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/) Hedra 19, 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.

 [ Read all 12 reviews ](https://wordpress.org/support/plugin/disable-url-autocorrect-guessing/reviews/)

## Contributors & Developers

“Disable URL Autocorrect Guessing” is open source software. The following people
have contributed to this plugin.

Contributors

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

“Disable URL Autocorrect Guessing” has been translated into 1 locale. Thank you 
to [the translators](https://translate.wordpress.org/projects/wp-plugins/disable-url-autocorrect-guessing/contributors)
for their contributions.

[Translate “Disable URL Autocorrect Guessing” into your language.](https://translate.wordpress.org/projects/wp-plugins/disable-url-autocorrect-guessing)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/disable-url-autocorrect-guessing/),
check out the [SVN repository](https://plugins.svn.wordpress.org/disable-url-autocorrect-guessing/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/disable-url-autocorrect-guessing/)
by [RSS](https://plugins.trac.wordpress.org/log/disable-url-autocorrect-guessing/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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**
 *  Last updated **6 years ago**
 *  Active installations **1,000+**
 *  WordPress version ** 5.5 or higher **
 *  Tested up to **5.5.20**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/disable-url-autocorrect-guessing/)
   and [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/disable-url-autocorrect-guessing/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/disable-url-autocorrect-guessing)
 * Tags
 * [autocorrect](https://cor.wordpress.org/plugins/tags/autocorrect/)[canonical](https://cor.wordpress.org/plugins/tags/canonical/)
   [redirect](https://cor.wordpress.org/plugins/tags/redirect/)[url](https://cor.wordpress.org/plugins/tags/url/)
 *  [Advanced View](https://cor.wordpress.org/plugins/disable-url-autocorrect-guessing/advanced/)

## Ratings

 5 out of 5 stars.

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

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

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

## Contributors

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

## Support

Got something to say? Need help?

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