Automatically redirect to canonical URL if the requested URL is different