Support » Plugin: Google News Unique Permalink ID » Problem with permalink text changing when title is changed

  • This is a great plugin for those of us who have existing sites with permalinks, but who cannot change our permalink structure to add unique numbers that Google looks for, because our old links will break.

    But unfortunately I can’t use it, because you have written it to change the TEXT of the permalink whenever a headline text is changed. This is problematic. My users occasionally must change the headlines of already-published posts, and while WordPress won’t automatically alter an existing slug to match the new headline, your plugin in fact does this.

    Example of how WordPress deals with it:

    Original post title: “My original post title”
    Original generated slug: my-original-post-title
    New post title “My new post title”
    Wordpress keeps the slug the same: my-original-post-title

    However, your plugin changes the text if it is edited, which can result in broken links, like this:

    Original post title: “My original post title”
    Your generated slug: my-original-post-title-64756
    New post title: “My new post title”
    Slug gets changed to: new-post-title-64756

    This breaks incoming links to that post. Unfortunately my end users will tend not to re-edit the slug themselves as it is a busy newsroom. It would be great if your plugin did not alter the slug content after a headline is edited.

    Also, is there any reason why the generated number has to be random? Wouldn’t the post ID be more logical?

  • The topic ‘Problem with permalink text changing when title is changed’ is closed to new replies.