{"id":5029,"date":"2025-05-15T09:46:04","date_gmt":"2025-05-15T08:46:04","guid":{"rendered":"https:\/\/ibex.tech\/cloud\/?p=5029"},"modified":"2025-05-16T09:22:25","modified_gmt":"2025-05-16T08:22:25","slug":"category-urls","status":"publish","type":"post","link":"https:\/\/ibex.tech\/cloud\/wordpress\/categories\/category-urls","title":{"rendered":"Category URLs"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Show all categories<\/h4>\n\n\n\n<p>https:\/\/mydomain.com\/?post_type=post<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Specific category URL<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">Default URL<\/h5>\n\n\n\n<p>https:\/\/yourdomain.com\/category\/your-category-name<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Custom URL<\/h5>\n\n\n\n<p>You can alter it in WP Admin > Settings > Permalinks > Category base<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Removing the default &#8220;\/category\/&#8221; section altogether<\/h5>\n\n\n\n<p>Change the &#8220;Category base&#8221; setting to a period (.). This will remove the default category base, resulting in cleaner URLs like this:<\/p>\n\n\n\n<p>https:\/\/yourdomain.com\/your-category-name<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">If your &#8220;Category base&#8221; has &#8220;blog\/&#8221; forced in front of it<\/h5>\n\n\n\n<p>We found this on some of our old sites. Changing Permalink structure to Plain and then back again to our custom structure fixed it (removed the fixed &#8220;blog\/&#8221; element)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Show all categories https:\/\/mydomain.com\/?post_type=post Specific category URL Default URL https:\/\/yourdomain.com\/category\/your-category-name Custom URL You can alter it in WP Admin > Settings > Permalinks > Category base Removing the default &#8220;\/category\/&#8221; section altogether Change the &#8220;Category base&#8221; setting to a period (.). This will remove the default category base, resulting in cleaner URLs like this: https:\/\/yourdomain.com\/your-category-name [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[379],"tags":[],"class_list":["post-5029","post","type-post","status-publish","format-standard","hentry","category-categories"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/5029","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/comments?post=5029"}],"version-history":[{"count":4,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/5029\/revisions"}],"predecessor-version":[{"id":5039,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/5029\/revisions\/5039"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/media?parent=5029"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/categories?post=5029"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/tags?post=5029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}