WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#8765 closed defect (bug) (duplicate)

Strip ° characters from permalink

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

Description

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)

comment:1 miqrogroove5 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.

comment:2 mrmist5 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

comment:3 ryan5 years ago

  • Milestone changed from 2.7.1 to 2.8

comment:4 Denis-de-Bernardy5 years ago

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

Merging into #9591.

comment:5 Denis-de-Bernardy5 years ago

  • Milestone 2.8 deleted

comment:6 dwright4 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.

comment:7 dwright4 years ago

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