Make WordPress Core

Opened 6 years ago

Last modified 6 years ago

#50149 new defect (bug)

url issue on category slugs

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

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
6 years ago

  • Component GeneralPermalinks
  • 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
6 years ago

  • Component PermalinksCanonical

Related: #18734, #28081.

Note: See TracTickets for help on using tickets.