[wp-trac] [WordPress Trac] #22210: Permalink 404 when re-using trashed page's permalink

WordPress Trac noreply at wordpress.org
Wed Oct 17 06:55:43 UTC 2012


#22210: Permalink 404 when re-using trashed page's permalink
-----------------------------+--------------------------
 Reporter:  Clorith          |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Permalinks
  Version:  3.4.2            |   Severity:  major
 Keywords:                   |
-----------------------------+--------------------------
 When creating a post with the same permalink as a page that has been
 trashed (not permanently deleted) the page will 404 presuming the page to
 be non-existant.

 This does not take into account which post/page was created first, if
 there is a trashed page it will 404.

 Can be replicated as follows:
 - Create a page with any title
 - Publish the page
 - Move the page to trash (do '''not''' permanently delete the page)
 - Create a new post with the same title
 - Publish the post and try viewing it

 When permanently deleting the page this is no longer an issue, also the
 title can be anything as long as the permalink is identical to the trashed
 article.

 This was brought up in #19333 with version 3.2.1 as well, but appears to
 have been related to a misconfigured htaccess file/webserver at the time.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22210>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list