Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

Disable URL Autocorrect Guessing

Опис

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

Встановлення

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

Відгуки

11.01.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.
16.07.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!
19.10.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.
Прочитати всі 12 відгуків

Учасники та розробники

“Disable URL Autocorrect Guessing” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

“Disable URL Autocorrect Guessing” було перекладено на 1 локалізацію. Дякуємо перекладачам за їх роботу.

Перекладіть “Disable URL Autocorrect Guessing” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

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.