Support » Fixing WordPress » Permalinks with added numbers

  • I have a blog that uses the /%year%/%monthnum%/%day%/%postname%/ permalink structure. Through the nature of the topic covered, I sometimes need to use the same Post Name. However when this happens, a dashed number is added to the end so it looks like/%year%/%monthnum%/%day%/%postname%/-#.

    For instance, one link may read /2010/11/20/black-friday-deals while the next year it is /2011/11/21/black-friday-deals-2

    Is there any way to stop this from happening? The way I see it, since the year & date have changed, there should be a way to make the permalink without the added number. Or is this currently impossible and something I should suggest on the Ideas board?

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    (@esmi)

    Forum Moderator

    Is there any way to stop this from happening?

    No – it’s deliberate to stop permalink clashes should you change to just using \%postname%

    Ahh, I can see how that would make sense. That being said, is it set 100% in stone? Is there a hack or anything that can be done to disable this? I understand it would prevent me from never changing to just \%postname%, but I know I won’t ever do that on this certain site.

    esmi

    (@esmi)

    Forum Moderator

    I’m sorry – there’s no hack. Anything like that could seriously mess up WordPress internally.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Permalinks with added numbers’ is closed to new replies.