Old Slug Redirect fails with Close Old Comments enabled
|Reported by:||ShaneF||Owned by:||anonymous|
|Priority:||highest omg bbq||Milestone:||2.7|
|Severity:||blocker||Keywords:||has-patch tested commit|
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/"
Change History (10)
- Priority changed from high to highest omg bbq
- Severity changed from critical to blocker
- Keywords has-patch needs-testing added
- Summary changed from Old Slug Redirect with Custom Structure to Old Slug Redirect fails with Close Old Comments enabled