[wp-trac] [WordPress Trac] #7976: Old Slug Redirect with Custom
Structure
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 27 05:01:52 GMT 2008
#7976: Old Slug Redirect with Custom Structure
----------------------+-----------------------------------------------------
Reporter: ShaneF | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.7
Component: General | Version: 2.7
Severity: critical | Keywords:
----------------------+-----------------------------------------------------
I was have a problem with Old slug redirects, and passed most of them off
as server errors. But that is not the case.
Currently on the site, I have a custom structure for posts:
/blog/%year%/%monthnum%/%day%/%postname%/
Remember that 'blog' is a static page holding the posts as well. The
example to explain the problem is this.
Currently, I have this post, http://bugssite.org/blog/2008/07/28/left-4
-dead-preview/. As you can see it goes to the post. The old slug for this
post was "http://bugssite.org/blog/2008/07/28/left-4-dead/" but if you
goto this link it shows the "single" page layout with nothing. It's not a
'404' error as needed for old_slug checking.
I think the reason is that because /blog/ is a 'static page' and it is
valid. If you do "http://bugssite.org/2008/07/28/left-4-dead/" or even
"http://bugssite.org/left-4-dead/" it redirects to the correct page of
"http://bugssite.org/blog/2008/07/28/left-4-dead-preview/"
--
Ticket URL: <http://trac.wordpress.org/ticket/7976>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list