Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#50149 new defect (bug)

url issue on category slugs

Reported by: ersinkurtdal's profile ersinkurtdal Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.4.1
Component: Canonical Keywords:
Focuses: Cc:

Description

This url structure is used to split the posts of a category into pages.

.../category/{category_name}/page/2/

However, if you use /0 before the /page/2/ section, the system ignores /0 and it does not redirect to the 404 page and opens the /page/2 archive page. But in this page, the single_cat_title() function does not return a value.

.../category/{category_name}/0/page/2/

Even all parameters entered before /0 are ignored too

.../category/{category_name}/1/2/3/4/5/abc/0/page/2/

Change History (2)

#1 @davidbaumwald
4 years ago

  • Component changed from General to Permalinks
  • Focuses template removed
  • Keywords needs-testing removed

HI @ersinkurtdal, and welcome to WordPress Trac! I've updated the ticket with the appropriate component, keywords, and focuses.

#2 @SergeyBiryukov
4 years ago

  • Component changed from Permalinks to Canonical

Related: #18734, #28081.

Note: See TracTickets for help on using tickets.