Page MenuHomePhabricator

url paths without trailing slash 404 instead of 301 redirecting to path with trailing slash
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Go to https://dv.enterprisewikimedia.com/products or https://dv.enterprisewikimedia.com/about (valid pages w/o trailing slash)

What happens?:

  • These pages 404 instead of permanently redirecting to the proper counterpart with a trailing slash that 200's.

What should have happened instead?:

  • going to https://dv.enterprisewikimedia.com/about should 301 redirect to https://dv.enterprisewikimedia.com/about/ (not trailing slash)
  • similarly any page that exists should always only render 200 with the trailing slash; non-trailing slash versions should each 301 to it.