CityWebConsultants / Iris

Modular content management and web application framework built with Node.js and MongoDB
http://irisjs.org
Other
9 stars 7 forks source link

Redirect trailing slashes in urls #261

Closed FilipNest closed 8 years ago

FilipNest commented 8 years ago

[Fixes #240]

I looked at Google's advice and it seemed to indicate allowing both and showing the same content with a 200 status wasn't amazing SEO so I've done a redirect. This does however mean we can't have a trailing slash in paths on purpose (exception made for home/root). Is that OK? We're not allowing directory listing and if we ever do we can always change this rule.