Make WordPress Core

Opened 2 years ago

Last modified 8 months ago

#20338 new defect (bug)

Slugs and special chars

Reported by: amirhabibi Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.3.1
Component: Permalinks Keywords:
Focuses: Cc:


When Wordpress generates a slug, the apostrophe mark is stripped.

Examples :

"I'm open" > im-open
"L'équipe" > lequipe
"Suzy's Place" > suzys-place

If the apostrophe is changed to "-" the auto generated slug will be more "readable" (and better for seo) :

"I'm open" > i-m-open
"L'équipe" > l-equipe
"Suzy's Place" > suzy-s-place

Maybe a constant to define what strategy to adopt ?

Change History (3)

comment:1 avryl8 months ago

  • Component changed from General to Permalinks

comment:2 amirhabibi8 months ago

There's now a plugin to change the behaviour :


Note: See TracTickets for help on using tickets.