Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#8765 closed defect (bug) (duplicate)

Strip ° characters from permalink

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

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)

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.

  • 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   ryan4 years ago

  • Milestone changed from 2.7.1 to 2.8
  • Resolution set to duplicate
  • Status changed from new to closed

Merging into #9591.

  • Milestone 2.8 deleted
  • 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.

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