{"id":13,"date":"2017-03-07T06:20:29","date_gmt":"2017-03-07T06:20:29","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?p=13"},"modified":"2019-12-20T07:56:17","modified_gmt":"2019-12-20T07:56:17","slug":"flush-rewrite-rules","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/flush-rewrite-rules\/","title":{"rendered":"How to Flush Rewrite Rules, also known as Resaving your Permalinks?"},"content":{"rendered":"<p>Flushing the rewrite rules might sound confusing but it is just a technical term. It&#8217;s used to clean the ugly permalink structure.<\/p>\n<p><strong>Here are two examples of the rewrite rule:\u00a0<\/strong><\/p>\n<ul>\n<li>Ugly: site.com\/?p=1<\/li>\n<li>Clean: site.com\/hello-world<\/li>\n<\/ul>\n<p><strong>Follow these steps:<\/strong><\/p>\n<p><strong><span style=\"color: #800000;\">Step 1:<\/span><\/strong> In the main menu find Settings -&gt; Permalinks.<\/p>\n<p><strong><span style=\"color: #800000;\">Step 2:<\/span><\/strong> Scroll down if needed and click &#8220;<strong>Save Changes<\/strong>&#8220;.<\/p>\n<p><strong><span style=\"color: #800000;\">Step 3:<\/span><\/strong> Rewrite rules and permalinks are flushed.<\/p>\n<p><a href=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/03\/Permalink-Settings-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-10175\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/03\/Permalink-Settings-1.png\" alt=\"\" width=\"1332\" height=\"619\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/03\/Permalink-Settings-1.png 1332w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/03\/Permalink-Settings-1-300x139.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/03\/Permalink-Settings-1-768x357.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/03\/Permalink-Settings-1-1024x476.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/03\/Permalink-Settings-1-50x23.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/03\/Permalink-Settings-1-60x28.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/03\/Permalink-Settings-1-100x46.png 100w\" sizes=\"(max-width: 1332px) 100vw, 1332px\" \/><\/a><\/p>\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n<p>We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.<\/p>\n<div id=\"div-1\" class=\"hkb-feedback\">\n\t\t\t<strong class=\"ht-mobile-exit__title\">Ask your Questions Directly!<\/strong><br>\n\t\t\t<div class=\"hkb_widget_exit__content\" style=\"font-size: 14px;\">If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!<\/div>\n\t\t\t<a href=\"https:\/\/ampforwp.com\/support\/#contact\" id=\"button\" target=\"_blank\" rel=\"noopener noreferrer\"><button>Yes, I have a Question<\/button><\/a>\n\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Flushing the rewrite rules might sound confusing but it is just a technical term. It&#8217;s used to clean the ugly permalink structure. Here are two examples of the rewrite rule:\u00a0 Ugly: site.com\/?p=1 Clean: site.com\/hello-world Follow these steps: Step 1: In the main menu find Settings -&gt; Permalinks. Step 2: Scroll&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":[],"ht-kb-category":[34],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/13"}],"collection":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/comments?post=13"}],"version-history":[{"count":9,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/13\/revisions"}],"predecessor-version":[{"id":15517,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/13\/revisions\/15517"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=13"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=13"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}