Bug – Title of Post Causes The Permalink To 404

  • Unknown's avatar

    I think I have found a bug. I am using the latest version of WP for my website. When I create a title of a post as follows “RSHTOTF! – Mute BBM Groups – UPDATED!” as you can see some how I have 2 different dashes in there, one is a short dash, one is a long dash. This is just cosmetic normally but the real problem is that when WP creates a permalink to “http://domain.com/rshtotf-–-mute-bbm-groups/” this causes a 404. After doing some testing I found out that the long dash was the issue. As soon as I remove that from the title and recreate the permalink the link works perfect. I can understand the reason this cannot exist in the URL, but when I create the post title which the permalink is created from WP should remove it just like it does to other typical special characters, correct? For example if I add !@#$%^&*() or any other special chr to the end of my title it does not get put in the permalink but this long dash does. Just wondering what other peoples results are. I have pasted them below so others can test.

    Long Dash –
    Short Dash –

  • Unknown's avatar

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

  • Unknown's avatar

    I have moved this post to WordPress.org (Obviously I didn’t know the difference!) But I would check the same does not happen here as well!

  • The topic ‘Bug – Title of Post Causes The Permalink To 404’ is closed to new replies.