Making WordPress.org

Opened 3 years ago

Closed 18 months ago

#5531 closed defect (bug) (fixed)

Theme Directory: Unexpected redirect for non-existing themes

Reported by: sergeybiryukov's profile SergeyBiryukov Owned by:
Milestone: Priority: normal
Component: Theme Directory Keywords:
Cc:

Description

If I go to:
https://wordpress.org/themes/non-existing/
it currently redirects to:
https://wordpress.org/themes/themes/non-existing/

Note the duplicate /themes part.

Change History (3)

#1 @SergeyBiryukov
3 years ago

Plugins have a similar redirect, but that one makes more sense:
https://wordpress.org/plugins/non-existing/
redirects to:
https://wordpress.org/plugins/search/non-existing/

Version 0, edited 3 years ago by SergeyBiryukov (next)

#2 @dd32
3 years ago

In 10497:

Redirects: Trim off the sub directory path prefix before attempting to handle malformed urls.

See #5528, #5531.

#3 @dufresnesteven
18 months ago

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

Closing, as this appears fixed.

Note: See TracTickets for help on using tickets.