Removing the trailing '/' from URLs