Permalinks without category or postname
-
I’ve discovered the hard way that there are some limits in the permalinks structure. For a variety of reasons, I had need to use permalinks that look something this (explanation why below for the curious):
blogname.com/YYYY-MM-DD-HH:MM
This should be “unique enough” from a practical perspective… the blog will never have multiple posts in the same minute. However, I find that strange things happen in wordpress when I try to set up a custom permalink structure like this… namely, the permalinks work, but the comments section of the postis completely missing. If I go back to one of the default permalinks structures, the comments section magically reappears.
Sifting through support forums, I see strong suggestions to use %postname% at the end of the permalink structure. This will be excruciatingly difficult for me (see explanation below).
I’m running WordPress 2.0.5 with K2 (although it happens even when I switch to the default theme). WordPress is successfully modifying my .htaccess file, and the problem happens even when I remove all non-wordpress entries from it. I’ve played around a lot with various custom permalinks definitions… I’m not making some basic syntax error there.
Question:
1. What’s going on? Does it make sense that my custom permalink structure would cause the symptom I describe?
2. If this is not a bug but a “feature” to ensure uniqueness, why isn’t there some validation of permalink formats? It took me a long time to determine that it was the permalinks that were causing the problem?Thanks in advance!
-RExplanation of my strange requirements: I’m migrating a three-year-old blog from https://www.journalscape.com, which uses this precise link structure. I don’t want internal links within the blog to break, so I need to be able to tranform the links so they will continue to be valid. If I can preserve the identical structure, relative links won’t need to change at all. It’s not even a big deal to do minor transformations (I can use a perl script on the export file prior to wordpress import). But I won’t be able to transform to a URL based on %postname% or other things that don’t have meaning outside WordPress.
- The topic ‘Permalinks without category or postname’ is closed to new replies.