WordPress.org

Forums

Strange problem withe Permalinks (5 posts)

  1. Debashish
    Member
    Posted 4 years ago #

    I am facing a strange problem with permalinks lately. I had the "Custom Permalinks" plugin installed but I uninstalled it lately. It used to add a custom field to all posts.

    After removing it all my old permalinks continue to work (like http://www.nirantar.org/0605 works fine). The problem is with a new Page that I added. WordPress just won't accept its slug as 0705, it keeps on adding -2 or -3 to it. I checked the database for the Page ID in wp_posts table I noticed that the guid column didn't had the normal page URL (i.e. it contained just http://www.nirantar.org instead of http://www.nirantar.org/?page_id=2880), which I corrected. I Also queried and since there were no other Post or page with the slug 0705 I changed the slug (post_name) in database to 0705.

    Now in admin console, while the quick edit option on page shows the slug correctly, on full edit page the slug is shown as 0705-3 and if I change it it doesn't change, moreover the permalink http://www.nirantar.org/0705 doesn't work not even http://www.nirantar.org/0705-3 or http://www.nirantar.org/0705-2. I even tried deleting this page and recreating it. What could be wrong?

  2. Debashish
    Member
    Posted 4 years ago #

    I am finding that this problem is only with Pages and not Posts. Now if I try to edit even any older page the slug becomes different (appending -2 or -3 to the existing one). Even through quick edit if I just save the page without making any changes, the slug changes.

  3. Debashish
    Member
    Posted 4 years ago #

    Has no one been facing a similar issue? I am just unable to create new pages or edit old ones due to this "bug".

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    Have you emptied your Trash lately?

  5. Debashish
    Member
    Posted 4 years ago #

    Yes I did that.

    Apparently its a bug in WordPress that numeric slugs are no more supported. I raised a ticket at http://core.trac.wordpress.org/ticket/15188 but they closed it saying a duplicate. Meanwhile I have raised my support to the open issue at http://core.trac.wordpress.org/ticket/14238.

Topic Closed

This topic has been closed to new replies.

About this Topic