{"id":11011,"date":"2025-01-20T06:49:34","date_gmt":"2025-01-20T06:49:34","guid":{"rendered":"https:\/\/www.trustedhosting.in\/blog\/?p=11011"},"modified":"2025-01-20T06:49:34","modified_gmt":"2025-01-20T06:49:34","slug":"how-to-customize-domain-categories","status":"publish","type":"post","link":"https:\/\/www.webystrata.com\/blog\/how-to-customize-domain-categories\/","title":{"rendered":"How to Customize Domain Categories"},"content":{"rendered":"<p><a href=\"https:\/\/www.trustedhosting.in\/master-reseller-hosting.html\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11009 size-full\" title=\"How to Customize Domain Categories\" src=\"https:\/\/www.trustedhosting.in\/blog\/wp-content\/uploads\/2025\/01\/3585381_66226-scaled.jpg\" alt=\"How to Customize Domain Categories\" width=\"2560\" height=\"1862\" srcset=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2025\/01\/3585381_66226-scaled.jpg 2560w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2025\/01\/3585381_66226-300x218.jpg 300w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2025\/01\/3585381_66226-1024x745.jpg 1024w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2025\/01\/3585381_66226-768x558.jpg 768w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2025\/01\/3585381_66226-1536x1117.jpg 1536w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2025\/01\/3585381_66226-2048x1489.jpg 2048w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/a><\/p>\n<h1>How to Customize Domain Categories<\/h1>\n<p>Domain categories group domain TLDs into categories on the domain registration page (<code>cart.php?a=add&amp;domain=register<\/code>). This makes it easier for clients to find their ideal domain extensions.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11012\" src=\"https:\/\/www.trustedhosting.in\/blog\/wp-content\/uploads\/2025\/01\/9987a3ca-14fa-476a-a4ef-a7ecf227851a.png\" alt=\"\" width=\"601\" height=\"203\" srcset=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2025\/01\/9987a3ca-14fa-476a-a4ef-a7ecf227851a.png 601w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2025\/01\/9987a3ca-14fa-476a-a4ef-a7ecf227851a-300x101.png 300w\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" \/><\/p>\n<div class=\"instructions screensteps-textblock\" tabindex=\"0\">\n<div id=\"text-content_bd2b2f04-e9f1-4139-a5d4-271df831945e\" class=\"text-block-content\">\n<p>You can add and customize categories by creating a customization file.<\/p>\n<\/div>\n<\/div>\n<div class=\"step step-depth-1\" data-step-uuid=\"89f7866f-6b4f-450f-bc60-366e84200298\">\n<h2 id=\"customising-domain-categories\" tabindex=\"0\">Customize Domain Categories<\/h2>\n<div class=\"instructions screensteps-textblock\" tabindex=\"0\">\n<div id=\"text-content_57af22ae-75fd-4288-9aed-6cc724843d0a\" class=\"text-block-content\">\n<p>To customize a category:<\/p>\n<p>1. Create a\u00a0<code>categories.json<\/code>\u00a0file in the\u00a0<code>\/resources\/domains\/<\/code>\u00a0directory.<\/p>\n<p>2. Using your preferred code or text editor, add the domain categories you wish to use in a JSON array format. For example, the array below defines a\u00a0<code>Domains A-F<\/code>\u00a0category.<\/p>\n<\/div>\n<\/div>\n<div class=\"code-block copy-clipboard--parent\">\n<pre id=\"code-content_8ddd00b0-7e5c-4ae4-917c-50e6479b0d14\" tabindex=\"0\"><code>{\r\n    \"Domains A-F\": [\r\n        \".biz\",\r\n        \".ca\",\r\n        \".club\",\r\n        \".cn\",\r\n        \".com\",\r\n        \".co.uk\",\r\n        \".de\",\r\n        \".eu\"\r\n    ]\r\n}<\/code><\/pre>\n<div class=\"copy-clipboard copy-clipboard--tt-right\"><\/div>\n<\/div>\n<div class=\"instructions screensteps-textblock\" tabindex=\"0\">\n<div id=\"text-content_4e10df41-328c-4048-820b-3d803ce9b5b2\" class=\"text-block-content\">\n<p>3. Save the file.<\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>How to Customize Domain Categories Domain categories group domain TLDs into categories on the domain registration page (cart.php?a=add&amp;domain=register). This makes&hellip;<\/p>\n","protected":false},"author":1,"featured_media":11009,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-11011","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-whmcs"],"_links":{"self":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts\/11011","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/comments?post=11011"}],"version-history":[{"count":1,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts\/11011\/revisions"}],"predecessor-version":[{"id":11013,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts\/11011\/revisions\/11013"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/media\/11009"}],"wp:attachment":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/media?parent=11011"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/categories?post=11011"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/tags?post=11011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}