WordPress.org

Ideas

Update slug upon page/post rename

  1. Mark
    Member

    12345

    Right now when you change the title of a page or post, the slug isn't updated. The default behaviour should rather be that the slug is updated whenever you change the page or post title.

    Posted: 8 years ago #
  2. richschmidt
    Member

    12345

    I disagree. If this happened, it would break links, trackbacks, etc., every time you changed a title. Wouldn't it?

    Posted: 8 years ago #
  3. Mark
    Member

    12345

    You're right - that might not be desirable for posts. For pages, it is desirable of course. I'm thinking of the significant (and growing) portion of the userbase using WP as a CMS.

    At least it should be an option.

    Posted: 8 years ago #
  4. Jon Bourne
    Member

    12345

    Yes for pages, no for posts

    Posted: 8 years ago #
  5. John Blackbourn
    WordPress Core Developer

    12345

    Agree with akbigdog. How would this idea affect the new system in 2.1 where a record of the old slugs are kept and visitors are redirected to the new slug when the old one is visited?

    Posted: 8 years ago #
  6. kaleosilva
    Member

    Yes for pages and draft posts.

    Posted: 8 years ago #
  7. clwill
    Member

    It does it for draft posts, no?

    Posted: 8 years ago #
  8. Mark
    Member

    12345

    No, it doesn't.

    Posted: 8 years ago #
  9. h3h
    Member

    12345

    This is what the "Post Slug" field is for. Maybe the design needs to be updated to make this more prominent or obvious, but the current behavior seems to be the best.

    Cool URIs don't change!

    Posted: 8 years ago #
  10. m0n5t3r
    Member

    12345

    I sometimes set the slug manually to avoid ugly_url_to_article_that_explains_how_i_installed_linux_on_my_dog kind of stuff, I think changing it automatically isn't a good idea; It could be a checkbox (unchecked by default), though... or a plugin.

    Posted: 8 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    69 Votes
  • Status

    This is plugin territory

Tags