WordPress.org

Ready to get started?Download WordPress

Forums

Editing page (or post) adds -2 to URL (3 posts)

  1. audovox
    Member
    Posted 3 years ago #

    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.

  2. audovox
    Member
    Posted 3 years ago #

    anyone? any help would be greatly appreciated

  3. Orin
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic