• On a fresh install of WordPress4.0, I changed the permalink structure to “Day and Name” (i.e. yyyy/mm/dd/sample-post). If you go to /sample-post/ you are redirected to yyyy/mm/dd/sample-post (expected).

    However, if you change the permalink structure to “Post Name” and you request the url: 2013/01/22/hello-world/ you are not redirected to /hello-world/ you get a 404 error.

    I’d hope that is not intentional, and that this is a bug that can be fixed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter gmisura

    (@gmisura)

    Some additional testing shows there’s quite a few bugs:

    permalink    ?p=1      /yyyy/mm/dd/hello-world/ /yyyy/mm/hello-world/ /archives/1/ /hello-world/
    default      HTTP 200  HTTP 200                 HTTP 200              HTTP 200     HTTP 200
    Day & Name   HTTP 301  HTTP 200                 HTTP 301              HTTP 404*    HTTP 301
    Month & Name HTTP 301  HTTP 301                 HTTP 200              HTTP 404*    HTTP 301
    Numeric      HTTP 301  HTTP 301                 HTTP 301              HTTP 200     HTTP 301
    Post name    HTTP 301  HTTP 404*                HTTP 404*             HTTP 404*    HTTP 200

    I would expect HTTP 301 for all of the HTTP 404*’s

    Thread Starter gmisura

    (@gmisura)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Permalinks not redirecting from "Day and Name" to "Post Name"’ is closed to new replies.