By default Shopify ends urls without a trailing slash, though a path to a version with the trailing slash can still be used. I'd like to avoid having both url paths as options and force the version without a trailing slash to redirect to the version with the trailing slash.
Example: /collections/all would redirect to /collections/all/
I can do this manually, but I'd much rather prefer to have this done automatically.
What is the best way to handle this in Shopify?