Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#39873 closed defect (bug) (duplicate)

Category and Tag permalink base with non-latin characters not encoded in URL

Reported by: payper Owned by:
Priority: normal Milestone:
Component: Taxonomy Version: 4.7.2
Severity: normal Keywords:
Cc: Focuses:

Description (last modified by SergeyBiryukov)

When use in category and tag permalink base non-latin characters urls generate with non-encoded base-slug.

For example: I change category base in permalink settings to "категория" in russian and must get url

/%D0%BA%D0%B0%D1%82%D0%B5%D0%B3%D0%BE%D1%80%D0%B8%D1%8F/%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/

but in permalinks it generated like

/категория/%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/

If i use encoded base-slug %D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B wordpress display main page, not category.

Same problem with tags base.

Discussion in Russian - ​https://ru.wordpress.org/support/topic/%D1%81%D0%BB%D0%B0%D0%B3-%D0%BA%D0%B0%D1%82%D0%B5%D0%B3%D0%BE%D1%80%D0%B8%D0%B8-%D0%B2-%D1%87%D0%BF%D1%83-wordpress-%D0%BD%D0%B0-%D0%BA%D0%B8%D1%80%D0%B8%D0%BB%D0%BB%D0%B8%D1%86%D0%B5-%D0%B8-relcanon/

Attachments (2)

permalinks settings.jpg​ (56.0 KB ) - added by payper 10 years ago.
url.jpg​ (109.1 KB ) - added by payper 10 years ago.

Download all attachments as: .zip

Change History (3)

@payper
10 years ago

#1 @SergeyBiryukov
10 years ago

  • Component General → Taxonomy
  • Description modified (diff)
  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed

Hi @payper, welcome to WordPress Trac!

Thanks for the report, we're already tracking this issue in #16839.

Note: See TracTickets for help on using tickets.