[wp-trac] [WordPress Trac] #39873: Category and Tag permalink base with non-latin characters not encoded in URL

WordPress Trac noreply at wordpress.org
Tue Feb 14 14:56:09 UTC 2017


#39873: Category and Tag permalink base with non-latin characters not encoded in
URL
--------------------------+------------------------
 Reporter:  payper        |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Taxonomy      |     Version:  4.7.2
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => duplicate
 * component:  General => Taxonomy
 * milestone:  Awaiting Review =>


Old description:

> 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/

New description:

 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/

--

Comment:

 Hi @payper, welcome to WordPress Trac!

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

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39873#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list