Make WordPress Core

Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#15359 closed defect (bug) (wontfix)

Post or page (even in Trash) can break listing of category with same slug name

Reported by: jorisw Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Query Keywords:
Focuses: Cc:


If a post or page exists with for example slug name "blog", and WordPress's permalinks are set to /%category%/%postname%/ , the post or page will break the listing page of a category named blog.

While this may seem unusual and wrong to do anyway, this persists when the post or page is put in the trash.

A post or page in the trash with slug name 'blog' will stop /blog/ from showing a category named blog. It will show a WordPress style 404, probably it tries to access the trashed post / page instead of going for the category listing.

Change History (3)

#1 @scribu
8 years ago

  • Component changed from General to Query

#2 @markjaquith
7 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

By default, you have to access /category/blog/. We don't support category URLs without a prepended /category/ (or user-defined) slug.

If I'm not understanding you, please reopen with more details.

#3 @ocean90
7 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.