[wp-trac] [WordPress Trac] #43036: the_posts_pagination() - redirect URL for first page in category

WordPress Trac noreply at wordpress.org
Sat Jan 6 20:51:58 UTC 2018


#43036: the_posts_pagination() - redirect URL for first page in category
-------------------------------+-----------------------------
 Reporter:  webliberty         |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  4.9.1
 Severity:  normal             |   Keywords:
  Focuses:  template           |
-------------------------------+-----------------------------
 When you are on the second, third, etc. the page function
 `the_posts_pagination ()` outputs a link to the first page for the current
 category with a slash `/` at the end of the URL:

 {{{
 /category/category-1/
 }}}

 But when clicking on a link, a redirect to the page takes place without a
 slash `/` on the end:

 {{{
 /category/category-1
 }}}

 A link to the following pages from this category is displayed already
 without a slash on the end of the URL:

 {{{
 /category/category-1/page/2
 }}}

 Permalink at the same time on the site are configured to look like this:

 {{{
 /%postname%.html
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43036>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list