Htaccess: add/remove trailing slash from URL

Right below the RewriteEngine On line, add:

To enforce a no-trailing-slash policy.
[crayon-5bf06e9743652006807354/] To enforce a trailing-slash policy:

Read Also:  Add intelliSense for node, angular, lodash and other javascript libraries in vs code

Leave a Reply

Your email address will not be published. Required fields are marked *