Making WordPress.org

Opened 3 years ago

Last modified 2 years ago

#4546 new defect

Invalid date format requests to News URLs should 301 redirect

Reported by: jonoaldersonwp Owned by:
Milestone: Priority: lowest
Component: General Keywords: seo analytics

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

  • Description modified (diff)

#2 @dd32
2 years ago

Is there an upstream ticket for this for WordPress Core?

Note: See TracTickets for help on using tickets.