How to remove multiple trailing slashes in the url
-
I want to know the regex expression to remove multiple trailing slashes in the url. For example:
https://domain.com/en/
https://domain.com/en//
https://domain.com/en///
https://domain.com/en////
https://domain.com/en///// and so on..should redirect to https://domain.com/en
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to remove multiple trailing slashes in the url’ is closed to new replies.