79647143

Date: 2025-06-01 03:12:27
Score: 1.5
Natty:
Report link

To trim only trailing slashes use rules from Trailing Slash Problem Apache's guide:

RewriteCond    %{REQUEST_FILENAME}  -d
RewriteRule    ^(.+[^/])$           $1/  [R]

To removes all trailing and duplicates slashes in the path, includes a root of the path, see this post I described: https://stackoverflow.com/a/79647129/6243733

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: GHosT