This snippet is more than 5 years old and may no longer be best practise, test before use.

Canonical - Strips Trailing Slashs


Canonical - Strips Trailing Slashs

Code: