WordPress.org

Make WordPress Core

Opened 2 years ago

#43036 new defect (bug)

the_posts_pagination() - redirect URL for first page in category

Reported by: webliberty Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.1
Component: Posts, Post Types Keywords:
Focuses: template Cc:

Description

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

Change History (0)

Note: See TracTickets for help on using tickets.