[wp-trac] Re: [WordPress Trac] #7022: editing timestamp without
modifying post URL not possible?
WordPress Trac
wp-trac at lists.automattic.com
Fri May 23 01:45:49 GMT 2008
#7022: editing timestamp without modifying post URL not possible?
------------------------+---------------------------------------------------
Reporter: mikafoobar | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.6
Component: General | Version: 2.5.1
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Changes (by DD32):
* milestone: => 2.6
Comment:
> +1 to a redirect being put in place, much like when you change the stub.
Hm.. I thought that allready happened.
I've just made some small changes to the Canonical redirection code:
* First, Do as usual, Look for a post that starts with the slug (ie. find
future-post if only future-po was given in the url) refining with the date
components if given
* Else, if nothing found, Search again, But look for an *exact* match for
the slug in ALL months, and redirect to that.
..I'm thinking this could be too redirect happy though, It might redirect
to things that its not meant to (which is why it looks for an exact
match).
--
Ticket URL: <http://trac.wordpress.org/ticket/7022#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list