>
Download This Plugin | |
Download Elegant Themes | |
Name | No Slug Conflicts with Trash |
Version | 1.0.3 |
Author | Scott Reilly |
Rating | 100 |
Last updated | 2015-02-12 07:19:00 |
Downloads |
716
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
No Slug Conflicts with Trash plugin added 2 bytes of resources to the Home page and 14 bytes of resources to the sample Post page.
No Slug Conflicts with Trash plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! No Slug Conflicts with Trash plugin ads no tables to your Wordpress blog database.This plugin implements the belief that a trashed page or post should not in any way conflict with a new page or post when it comes to slugs. In essence, a new page or post takes precedence over anything in the trash. After all, the page/post is in the trash for a reason.
By default, WordPress takes into account posts and pages that have been trashed when deciding if the slug for a new post is already in use. Obviously WordPress does not want to allow duplicate slugs because that could interfere with permalinks. The thinking behind WordPress's handling of the situation is that trashed posts/pages are still technically present, just inaccessible. It is possible that an author or admin would choose to restore a post from the trash, which WordPress feels should then occupy that same permalink as before it was trashed.
If what WordPress does is unclear, here's an example to help clarify things:
With this plugin, for this example, the new "About" page would get the slug "about" as one would hope.
That said, the plugin tries its best to restore untrashed posts to their original slug. The only time it fails to do so is if a new page or post has claimed the trashed post's original slug, in which case the untrashed post is assigned a new slug.
See the FAQ section for more insight into the plugin's functionality. See WP core ticket #11863 for discussion on the matter.
Links: Plugin Homepage | Plugin Directory Page | Author Homepage