[Resolved] Post ID Showing Up in Slugs

Home Forums Support [Resolved] Post ID Showing Up in Slugs

Home Forums Support Post ID Showing Up in Slugs

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2037841
    Rachel

    Hi there,

    My post ID numbers are showing up in my slugs/URLs and I don’t want them to. Is there an easy way to accomplish this?

    For example, new posts come up like this: sitename.com/1392/name_of_post. I just want the URL/slug to look like this: sitename.com/name_of_post.

    Thank you so much!

    #2038007
    David
    Staff
    Customer Support

    Hi there,

    can you check the structure you have in Dashboard > Settings > Permalinks.

    #2038330
    Rachel

    Ah. It’s set to sitename:/%post_id%/%postname%/

    Can I just delete the %post_id% element? Will that screw up existing posts?

    Thanks so much.

    #2038342
    David
    Staff
    Customer Support

    Select the Post name option from the list, and then click Save Changes which will rebuild your permalinks

    #2038347
    Rachel

    Thank you so much!

    #2038354
    David
    Staff
    Customer Support

    You’re welcome!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.