Closed Johanndutoit closed 7 years ago
If we can check whether /path and /path/ returns the same content it will be better. You may have both urls - they shouldn't return the same content though
Agreed, have a idea on how to check that too. Just need run a few local checks
Just added the diff check for us, along with the rule key in the README
As requested per #5, the check for trailing slashes on URL's.
Had to put some thought into this and not quite happy but it's a good start for a discussion.
The rule currently assumes that only one version of this page should work, either with or without the trailing slash. So if /about/ and /about works, the notice is shown (and vice versa).
Let me know what everyone thinks. Ping @BarryBotha from the #5 for feedback too