WordPress.org

Ready to get started?Download WordPress

Forums

%postname% tag != post name. (2 posts)

  1. Emanon
    Member
    Posted 7 years ago #

    I just realized that using the %postname%-tag in permalinks actually does not give the real post title, but the post slug.

    This causes issues for me, since I tend to change title a couple of times during writing my posts. The slug is not updated when the rest of the post is, and thus I've not got a lot of URLs pointing to some really stupid titles...

    Is this a bug or a feature? Is there any way I can get permalinks that point to the _real_ post title?

    And what is the slug for anyway?

  2. Emanon
    Member
    Posted 7 years ago #

    I opened a ticket at trac, and rob1n promptly replied. I thought I should update this thread too, in case anyone else wonders.

    Once you publish a post (with or without setting a post slug), that slug, by default, stays like that so there are no broken links, unless you manually alter it. This is because that URL is what you ping the notification servers with.

    I would save & continue, look at your draft, then publish.

Topic Closed

This topic has been closed to new replies.

About this Topic