Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#8765 closed defect (bug) (duplicate)

Strip ° characters from permalink

Reported by: aronchi's profile aronchi Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: General Keywords: needs-patch, reporter-feedback
Focuses: Cc:


If I put a "1°" in my post title, the permalinks will contain "1%c2%b0"
I think it should be stripped to "1"m without %c2%b0.

It's a problem because google doesn't follows those links, according to google webmaster tools.

I think it's not so difficult to strip down it, like it does with dollar signs and other special chars.

Change History (7)

#1 @miqrogroove
15 years ago

Why would Google not follow those links? I've got Permalinks with Chinese characters in them, and they show up in Google just fine, percent encoding and all.

#2 @mrmist
15 years ago

  • Keywords needs-patch added
  • Severity changed from major to normal
  • Version set to 2.7

Probably needs to be dealt with alongside the 6 or so other active tickets that deal with special characters in slugs.

See e.g. #3206 #5554 #4739 #6106 #1762 #4328 #6973

#3 @ryan
15 years ago

  • Milestone changed from 2.7.1 to 2.8

#4 @Denis-de-Bernardy
15 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

Merging into #9591.

#5 @Denis-de-Bernardy
15 years ago

  • Milestone 2.8 deleted

#6 @dwright
15 years ago

  • Keywords reporter-feedback added

I agree with miqrogroove, where does it state that these are invalid links?
encoded chars in urls are valid.

I can see a reason why I would want to retain the "1°" in my permalink. If you strip this char out, then what other chars would you strip? all non US-ASCII?

This seems like a 'wontfix' to me unless the reporter can site a specific example where Google will not crawl these urls.

#7 @dwright
15 years ago

  • Cc david_v_wright@… added
Note: See TracTickets for help on using tickets.