Fixing URL redirection after uploading CMS images