Making WordPress.org

Opened 5 years ago

Last modified 4 years ago

#4546 new defect (bug)

Invalid date format requests to News URLs should 301 redirect

Reported by: jonoaldersonwp's profile jonoaldersonwp Owned by:
Milestone: Priority: lowest
Component: General Keywords: seo analytics
Cc:

Description (last modified by jonoaldersonwp)

Adding a '0' value into the month or day parameter of a date URL, such as https://wordpress.org/news/2008/10/0/ or https://wordpress.org/news/2008/0/page/2/ should remove it via a 301 redirect (to https://wordpress.org/news/2008/10/ and https://wordpress.org/news/2008/page/2/ respectively).

Change History (3)

#1 @jonoaldersonwp
5 years ago

  • Description modified (diff)

#2 @dd32
4 years ago

Is there an upstream ticket for this for WordPress Core?

Note: See TracTickets for help on using tickets.