{"id":9486,"date":"2022-05-10T06:43:37","date_gmt":"2022-05-10T06:43:37","guid":{"rendered":"https:\/\/cpanelplesk.com\/wp62\/?p=9486"},"modified":"2022-05-10T06:43:37","modified_gmt":"2022-05-10T06:43:37","slug":"what-is-url-normalization-in-cloudflare","status":"publish","type":"post","link":"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/","title":{"rendered":"What is URL Normalization in Cloudflare?"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Cloudflare has a URL normalization tool that may be used to change the URLs of incoming requests to conform to a uniform formatting standard. <\/span><span style=\"font-weight: 400\">Enabling URL normalization, in other words, guarantees that incoming URLs are normalized before being sent on to other Cloudflare edge features that accept URL input. <\/span><span style=\"font-weight: 400\">Furthermore, regardless of the original incoming URL, the rule expressions responsible for filtering traffic according to URLs will perform seamlessly.<\/span><\/p>\n<p><span style=\"font-weight: 400\">If the URL normalization option is not enabled, Cloudflare will forward the URL in its original form. This could lead to ERROR.<\/span><\/p>\n<h2><span style=\"font-weight: 400\">How does URL Normalization in CloudFlare Work?<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Incoming URLs are normalized by changing encoded elements, separators, and literal bytes to ensure they follow a consistent formatting standard. <\/span><span style=\"font-weight: 400\">We have a Firewall Rule set up to prevent all requests that match www.example.com\/hello. This constraint, however, is insufficient to prevent a request with an encoded element, such as www.example.com\/ percent 76ello.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Fortunately, the Cloudflare Firewall Rules expressions that use URLs are easier by normalizing the incoming URLs.<\/span><\/p>\n<p><span style=\"font-weight: 400\">The following characters are percent decoded according to RFC-3986:<\/span><\/p>\n<ol>\n<li><span style=\"font-weight: 400\">Characters in the alphabet: a-z, A-Z.<\/span><\/li>\n<li>The following characters are not encoded or decoded: 0-9 hyphen \u2013, period., underscore _, and tilde # [] @! $ &amp;'() * +, ; =: \/?<\/li>\n<li>Other characters, such as literal byte values, are encoded in percent.<\/li>\n<li>Remove Dot Segment protocol is used to normalize URL paths.<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400\">In addition to RFC-3986, Cloudflare can use the following additional techniques:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400\">Combine a series of forward slashes.<\/span><\/li>\n<li><span style=\"font-weight: 400\">Backslashes should be converted to forward slashes.<\/span><\/li>\n<\/ul>\n<h2><span style=\"font-weight: 400\">Configure URL Normalization in the Dashboard<\/span><\/h2>\n<p><span style=\"font-weight: 400\">The Rules app in the Cloudflare dashboard can be used to establish URL normalization settings, as shown below:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400\">To begin, go to the dashboard and select an account and a website.<\/span><\/li>\n<li><span style=\"font-weight: 400\">Then, under Rules, go to Settings.<\/span><\/li>\n<li><span style=\"font-weight: 400\">Then, under Configure Normalization, configure the available URL normalization options.<\/span><\/li>\n<\/ul>\n<h2><span style=\"font-weight: 400\">URL Normalization Settings<\/span><\/h2>\n<ul>\n<li><b>Type of normalization:<br \/>\n<\/b><b> <\/b><span style=\"font-weight: 400\">We can select whatever type of normalization we desire here:<\/span><\/li>\n<li><span style=\"font-weight: 400\">RFC-3986: This implements RFC-3986 URL normalization.<\/span><\/li>\n<li><span style=\"font-weight: 400\">Cloudflare: In addition to RFC-3986, Cloudflare provides URL normalization algorithms.<\/span><\/li>\n<li><b>Normalize Incoming URLs:<br \/>\n<\/b><span style=\"font-weight: 400\">The URLs of all incoming traffic are configured with this parameter. When enabled, it normalizes all incoming URLs before sending them on to Cloudflare&#8217;s other services.<\/span><\/li>\n<li><b>Normalize URLs to Origin:<br \/>\n<\/b><span style=\"font-weight: 400\">This option configures the origin of URLs. It is turned off by default.<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cloudflare has a URL normalization tool that may be used to change the URLs of incoming requests to conform to a uniform formatting standard. Enabling URL normalization, in other words, guarantees that incoming URLs are normalized before being sent on to other Cloudflare edge features that accept URL input. Furthermore, regardless of the original incoming [&#8230;]<\/p>\n<p><a class=\"understrap-read-more-link\" href=\"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":19,"featured_media":9488,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,4],"tags":[],"class_list":["post-9486","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloudflare","category-general"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is URL Normalization in Cloudflare? - cPanel Plesk<\/title>\n<meta name=\"description\" content=\"Cloudflare has a URL normalization tool that may be used to change the URLs of incoming requests to conform to a uniform formatting standard.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"What is URL Normalization in Cloudflare? - cPanel Plesk\" \/>\n<meta name=\"twitter:description\" content=\"Cloudflare has a URL normalization tool that may be used to change the URLs of incoming requests to conform to a uniform formatting standard.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2022\/05\/Url.png\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"samama\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/\"},\"author\":{\"name\":\"samama\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/b5c17eff2915a029433dfd2d5a6e8465\"},\"headline\":\"What is URL Normalization in Cloudflare?\",\"datePublished\":\"2022-05-10T06:43:37+00:00\",\"dateModified\":\"2022-05-10T06:43:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/\"},\"wordCount\":387,\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"image\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2022\/05\/Url.png\",\"articleSection\":[\"Cloud Flare\",\"General\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/\",\"name\":\"What is URL Normalization in Cloudflare? - cPanel Plesk\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2022\/05\/Url.png\",\"datePublished\":\"2022-05-10T06:43:37+00:00\",\"dateModified\":\"2022-05-10T06:43:37+00:00\",\"description\":\"Cloudflare has a URL normalization tool that may be used to change the URLs of incoming requests to conform to a uniform formatting standard.\",\"breadcrumb\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/#primaryimage\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2022\/05\/Url.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2022\/05\/Url.png\",\"width\":1024,\"height\":538},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cpanelplesk.com\/wp62\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is URL Normalization in Cloudflare?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/\",\"name\":\"cPanel Plesk\",\"description\":\"Blog on famous hosting control panels\",\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\",\"name\":\"Farooq Omer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"width\":300,\"height\":44,\"caption\":\"Farooq Omer\"},\"logo\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/b5c17eff2915a029433dfd2d5a6e8465\",\"name\":\"samama\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5ad71c1d187b45a3c1a68698160b5f6d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5ad71c1d187b45a3c1a68698160b5f6d?s=96&d=mm&r=g\",\"caption\":\"samama\"},\"url\":\"https:\/\/cpanelplesk.com\/wp62\/author\/samama\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is URL Normalization in Cloudflare? - cPanel Plesk","description":"Cloudflare has a URL normalization tool that may be used to change the URLs of incoming requests to conform to a uniform formatting standard.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/","twitter_card":"summary_large_image","twitter_title":"What is URL Normalization in Cloudflare? - cPanel Plesk","twitter_description":"Cloudflare has a URL normalization tool that may be used to change the URLs of incoming requests to conform to a uniform formatting standard.","twitter_image":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2022\/05\/Url.png","twitter_misc":{"Written by":"samama","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/#article","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/"},"author":{"name":"samama","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/b5c17eff2915a029433dfd2d5a6e8465"},"headline":"What is URL Normalization in Cloudflare?","datePublished":"2022-05-10T06:43:37+00:00","dateModified":"2022-05-10T06:43:37+00:00","mainEntityOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/"},"wordCount":387,"publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"image":{"@id":"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/#primaryimage"},"thumbnailUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2022\/05\/Url.png","articleSection":["Cloud Flare","General"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/","url":"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/","name":"What is URL Normalization in Cloudflare? - cPanel Plesk","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/#primaryimage"},"image":{"@id":"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/#primaryimage"},"thumbnailUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2022\/05\/Url.png","datePublished":"2022-05-10T06:43:37+00:00","dateModified":"2022-05-10T06:43:37+00:00","description":"Cloudflare has a URL normalization tool that may be used to change the URLs of incoming requests to conform to a uniform formatting standard.","breadcrumb":{"@id":"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/#primaryimage","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2022\/05\/Url.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2022\/05\/Url.png","width":1024,"height":538},{"@type":"BreadcrumbList","@id":"https:\/\/cpanelplesk.com\/wp62\/what-is-url-normalization-in-cloudflare\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cpanelplesk.com\/wp62\/"},{"@type":"ListItem","position":2,"name":"What is URL Normalization in Cloudflare?"}]},{"@type":"WebSite","@id":"https:\/\/cpanelplesk.com\/wp62\/#website","url":"https:\/\/cpanelplesk.com\/wp62\/","name":"cPanel Plesk","description":"Blog on famous hosting control panels","publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13","name":"Farooq Omer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","width":300,"height":44,"caption":"Farooq Omer"},"logo":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/"}},{"@type":"Person","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/b5c17eff2915a029433dfd2d5a6e8465","name":"samama","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5ad71c1d187b45a3c1a68698160b5f6d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5ad71c1d187b45a3c1a68698160b5f6d?s=96&d=mm&r=g","caption":"samama"},"url":"https:\/\/cpanelplesk.com\/wp62\/author\/samama\/"}]}},"_links":{"self":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/9486","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/comments?post=9486"}],"version-history":[{"count":1,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/9486\/revisions"}],"predecessor-version":[{"id":9487,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/9486\/revisions\/9487"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media\/9488"}],"wp:attachment":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media?parent=9486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/categories?post=9486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/tags?post=9486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}