and remove trailing slashes in all URLs