WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Pages link issue (9 posts)

  1. lothsun
    Member
    Posted 1 year ago #

    I am currently building a website for a church. I accidentally deleted the calendar page. I made a new calendar page but the link is now /calendar-2/ instead of /calendar/. I tried just changing the permalink but it just reverts it back to /calendar-2/. Is there another way to get my permalink to just say /calendar/?

    P.S. I am using the /%category%/%postname%/ custom permalink structure.

  2. Jose Castaneda
    Member
    Posted 1 year ago #

    One way is by going to the database and looking for the slug for the first one and delete it.

  3. lothsun
    Member
    Posted 1 year ago #

    Do you know where that slug is located at in the database?

  4. Mayeenul Islam
    Member
    Posted 1 year ago #

    Better first check into the All Pages > Trash. Deleted files, trashed in the 'Trash' caused the similar problem regarding permalinks. If the deleted page is in 'Trash', then delete it permanently. It'll avail the desired permalink for you. Then, I think you can edit the permalink to /calender/ again. :)

  5. lothsun
    Member
    Posted 1 year ago #

    mayeenul,

    The page is not in the trash. Do you happen to know where the slug would be located at in the database?

  6. Mayeenul Islam
    Member
    Posted 1 year ago #

    Ok.
    If I'm not wrong, you can find 'em in wp_posts.
    The table head will be post_name.
    Have a try and let us know.

  7. lothsun
    Member
    Posted 1 year ago #

    Thank you guys. That worked perfectly. The community support is one of the reasons I decided to try wordpress out.

  8. Mayeenul Islam
    Member
    Posted 1 year ago #

    You are always welcome.
    Let's mark the topic is 'disclosed'.
    Yap, CODE IS POETRY. :)

  9. lothsun
    Member
    Posted 1 year ago #

    it is now closed

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.