[wp-trac] [WordPress Trac] #23074: Changing post's URL and then setting it back causes redirect loop

WordPress Trac noreply at wordpress.org
Sat Dec 29 00:44:50 UTC 2012


#23074: Changing post's URL and then setting it back causes redirect loop
-----------------------------+--------------------------
 Reporter:  vbuterin         |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  General
  Version:  3.5              |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------------
 This morning, I changed the URL of one of my posts, but then changed my
 mind and set it back. When you change the URL of your post, WP
 automatically creates a redirect from the old page to the new page, which
 is good, but in this case it led to an unintended consequence: after I
 changed the link from A to B and then back to A, it set up a redirect from
 A to B and a redirect from B to A, causing anyone trying to access A or B
 to end up in a redirect loop between the two (or possibly it created a
 redirect loop from A to A; I'm not sure). It should check for such loops
 when you update the URL to avoid this problem.

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


More information about the wp-trac mailing list