[wp-trac] Re: [WordPress Trac] #9456: problem using
/%category%/%postname%/
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 4 20:46:03 GMT 2009
#9456: problem using /%category%/%postname%/
--------------------------+-------------------------------------------------
Reporter: ramiy | Owner: ryan
Type: defect (bug) | Status: new
Priority: high | Milestone: Unassigned
Component: Permalinks | Version: 2.7.1
Severity: major | Keywords: parmalink,categories,category, reporter-feedback
--------------------------+-------------------------------------------------
Comment(by hakre):
Replying to [comment:3 jbsil]:
> I strongly disagree. In fact, I have multiple blogs set up with only
/%postname%/ as the permalink structure, and they all work perfectly. Just
my two cents.
Yeah, technically spoken, it works, but you run into problems if the post
names are not unique enough and anyway can catch illy side-effects (for
example if the blog not placed at the root for the site etc.). so you are
fine to make so, but that is why I wrote I strongly discourage it because
of my experiences, I did not write that for fun.
if you're in for having a flat structure, add constants (like a dot, comma
or similar) and the postid into the filename:
{{{/%postname%,%post_id%,%year%-%monthnum%.html}}} this is informative as
well.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9456#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list