{"id":665,"date":"2020-12-22T14:49:55","date_gmt":"2020-12-22T14:49:55","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=665"},"modified":"2024-01-24T18:58:23","modified_gmt":"2024-01-24T18:58:23","slug":"restoring-broken-posts-urls-after-rewriting-cpt-slug","status":"publish","type":"troubleshooting","link":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/restoring-broken-posts-urls-after-rewriting-cpt-slug\/","title":{"rendered":"Need to Restore the Broken Posts URLs After Rewriting the CPT Slug"},"content":{"rendered":"\n<p>A #1 rule to follow: when you want to rewrite the CPT slug, make sure to resave the permalinks.<\/p>\n\n\n\n<p class=\"item-1\">Go to <strong><em>JetEngine &gt; Post Types <\/em><\/strong>and click on the post type you would like to edit.&nbsp;<\/p>\n\n\n\n<p class=\"offset\">In the <strong>General Settings<\/strong> tab, you are at liberty to change the <strong>Post Type Name<\/strong> only. The <strong>Post Type Slug<\/strong> should remain untouched.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"656\" height=\"414\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2020\/12\/Post-Types-\u2039-general-settings.png\" alt=\"CPT general settings\" class=\"wp-image-37035\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2020\/12\/Post-Types-\u2039-general-settings.png 656w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2020\/12\/Post-Types-\u2039-general-settings-300x189.png 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2020\/12\/Post-Types-\u2039-general-settings-600x379.png 600w\" sizes=\"(max-width: 656px) 100vw, 656px\" \/><\/div>\n\n\n\n<p class=\"offset\">Open the <strong>Advanced Settings<\/strong> tab and scroll down to the <strong>Rewrite Slug<\/strong> control. Type in the slug you want and press the \u201c<strong>Update Post Type<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"694\" height=\"811\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2020\/12\/rewrite-slug.png\" alt=\"rewrite slug\" class=\"wp-image-37037\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2020\/12\/rewrite-slug.png 694w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2020\/12\/rewrite-slug-257x300.png 257w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2020\/12\/rewrite-slug-600x701.png 600w\" sizes=\"(max-width: 694px) 100vw, 694px\" \/><\/div>\n\n\n\n<p class=\"offset\">Follow the <strong><em>Settings > Permalinks<\/em><\/strong> pathway, scroll down the page, and press the \u201c<strong>Save changes<\/strong>\u201d button one more time.\u00a0<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"494\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2020\/12\/Permalink-Settings-\u2039-save-changes.png\" alt=\"resaving the permalinks\" class=\"wp-image-37036\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2020\/12\/Permalink-Settings-\u2039-save-changes.png 730w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2020\/12\/Permalink-Settings-\u2039-save-changes-300x203.png 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2020\/12\/Permalink-Settings-\u2039-save-changes-600x406.png 600w\" sizes=\"(max-width: 730px) 100vw, 730px\" \/><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to fix broken post type slugs once the changes to the URL were applied and posts cannot be opened.<\/p>\n","protected":false},"author":11,"featured_media":0,"template":"","troubleshoot-tags":[376],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CPT Slug Rewriting Led to Broken Posts Permalinks \u2013 JetEngine | Crocoblock<\/title>\n<meta name=\"description\" content=\"Learn how to rewrite the slug of a Custom Post Type correctly and follow these steps to restore the broken posts.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/restoring-broken-posts-urls-after-rewriting-cpt-slug\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CPT Slug Rewriting Led to Broken Posts Permalinks \u2013 JetEngine | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Learn how to rewrite the slug of a Custom Post Type correctly and follow these steps to restore the broken posts.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/restoring-broken-posts-urls-after-rewriting-cpt-slug\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-24T18:58:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2020\/12\/rewrite-slug.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/restoring-broken-posts-urls-after-rewriting-cpt-slug\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/restoring-broken-posts-urls-after-rewriting-cpt-slug\/\",\"name\":\"CPT Slug Rewriting Led to Broken Posts Permalinks \u2013 JetEngine | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2020-12-22T14:49:55+00:00\",\"dateModified\":\"2024-01-24T18:58:23+00:00\",\"description\":\"Learn how to rewrite the slug of a Custom Post Type correctly and follow these steps to restore the broken posts.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/restoring-broken-posts-urls-after-rewriting-cpt-slug\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/restoring-broken-posts-urls-after-rewriting-cpt-slug\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/restoring-broken-posts-urls-after-rewriting-cpt-slug\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Troubleshooting\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Need to Restore the Broken Posts URLs After Rewriting the CPT Slug\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CPT Slug Rewriting Led to Broken Posts Permalinks \u2013 JetEngine | Crocoblock","description":"Learn how to rewrite the slug of a Custom Post Type correctly and follow these steps to restore the broken posts.","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:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/restoring-broken-posts-urls-after-rewriting-cpt-slug\/","og_locale":"en_US","og_type":"article","og_title":"CPT Slug Rewriting Led to Broken Posts Permalinks \u2013 JetEngine | Crocoblock","og_description":"Learn how to rewrite the slug of a Custom Post Type correctly and follow these steps to restore the broken posts.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/restoring-broken-posts-urls-after-rewriting-cpt-slug\/","og_site_name":"Help Center","article_modified_time":"2024-01-24T18:58:23+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2020\/12\/rewrite-slug.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/restoring-broken-posts-urls-after-rewriting-cpt-slug\/","url":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/restoring-broken-posts-urls-after-rewriting-cpt-slug\/","name":"CPT Slug Rewriting Led to Broken Posts Permalinks \u2013 JetEngine | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2020-12-22T14:49:55+00:00","dateModified":"2024-01-24T18:58:23+00:00","description":"Learn how to rewrite the slug of a Custom Post Type correctly and follow these steps to restore the broken posts.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/restoring-broken-posts-urls-after-rewriting-cpt-slug\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/restoring-broken-posts-urls-after-rewriting-cpt-slug\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/restoring-broken-posts-urls-after-rewriting-cpt-slug\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Troubleshooting","item":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/"},{"@type":"ListItem","position":3,"name":"Need to Restore the Broken Posts URLs After Rewriting the CPT Slug"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/troubleshooting\/665"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/troubleshooting"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/troubleshooting"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/11"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=665"}],"wp:term":[{"taxonomy":"troubleshoot-tags","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/troubleshoot-tags?post=665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}