• When using a custom permalink structure, the links from the calendar on the front page rely upon the %day% token in the permalink structure. This behavior isn’t documented on the permalink options page and undesirable results are obtained if one doesn’t use the %day% token.
    I for one find the %day% useless because I rarely make two posts per day, so my permalink structure is /%year%/%monthnum%/%postname%/. I have hacked the get_day_link() function to compensate for the lack of %day%, so it will just link to .../%month%/. This isn’t exactly desirable, but it’s better than a malformed link.
    My proposed solution is: Make /%year%/%monthnum%/%day%/ links work internally, but don’t use them for the permalink to a post. In other words, there should be a redirect with the day token in place, but it should be separate from the standard permalink structure.
    Any comments/suggestions would be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Calendar Dependence on ?y%’ is closed to new replies.