WordPress.org

Support

Support » How-To and Troubleshooting » Editing page (or post) adds -2 to URL

Editing page (or post) adds -2 to URL

  • audovox
    Member

    @audovox

    If I edit a page, a “-2” is added to the permalink.

    /archive/01/
    > edit this entry ans URL becomes
    /archive/01-2/

    I realise this happens when there are duplicate pages/posts with same URL, but there are no duplicates and no drafts.

    It’s like the page is locked and when I go to edit, it thinks its a duplicate – but there is none. Going quietly crazy about this one!

    This started after upgrading to 3.0.1

    Please help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • audovox
    Member

    @audovox

    anyone? any help would be greatly appreciated

    This is 100% something that was added in the last year. I was able to make child pages with numerical slugs before that. I had /twitter-archive/2009/, but can’t make /twitter-archive/2010/. And when I go to make any changes to these old child pages, WordPress wants to automatically change the slugs!

    Yeah. I don’t know what changed (I suspect: how slugs are checked against the rewrite rules) but this kind of sucks. Just have to use letters, somehow. Oh well.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Editing page (or post) adds -2 to URL’ is closed to new replies.