removed CanonicalUrl & fixed rewriteURL regex pattern