Added redirect handlers for paths with a trailing slash