Links to pages that are children of drafts are broken
|Reported by:||stevish||Owned by:||ryan|
Assume you have a page called "Parent" that is saved as a draft. Then assume that you write a page called "Child", set it as a child of "Parent", and publish it. The permalink that will be generated for "Child" will be http://example.com//child instead of http://example.com/parent/child. And clicking on said link (or typing it into your browser's address bar) will produce a 404.
This is definitely a minor bug, and some may not even consider it a bug. The situation during which this would be a problem is if you are making a page that has links to all its child pages, and you don't want to publish this main page until you're sure all the links work properly. In that case (which happens to have been my case), you will then spend 2 hours digging through forums and messing around with permalinks, trying to figure out why these links aren't working.
It's a rare situation, but it can be a pretty time consuming little problem.
Change History (12)
comment:1 @markjaquith — 7 years ago
- Priority changed from normal to low
- Severity changed from normal to minor
- Component changed from General to Permalinks
- Owner changed from anonymous to ryan