WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#39233 closed enhancement (duplicate)

perminlink generation with special charaters in post title leads to redirect error

Reported by: horst8831 Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.7
Component: General Keywords:
Focuses: Cc:

Description

Wordpress generates the permlink from the post title. If the title contains special characters it leads to a invalid url for the post.

I think for better usability, wordpress should not generate invalid post urls at all.
Sure I can easy fix that problem by manually change the generated link. But there are pages like mine with many posts and authors every day.
So it leads steadily to problems and support request by members/authors.

Example
Title of the new post is:
Testpost

generated permlink is:
https://mywpblog/2016/12/11/testpost-%f0%9f%98%9b/

--> redirect error by opening that post

Change History (2)

#1 @horst8831
4 years ago

the example post title did contain a emoticon
but the editor here seems to remove such things.
Such a behaviour for the title before you generate the permlink would solve the problem :)

Last edited 4 years ago by horst8831 (previous) (diff)

#2 @johnbillion
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Thanks for the report @horst8831. This has been reported already at #38966.

Note: See TracTickets for help on using tickets.