Difference between revisions of "Domain Categories"
(Created page with "<div class="docs-alert-info"><i class="fa fa-info-circle"></i> This page describes a feature available in version 7.10 and above.</div> --whatever code is necessary here to a...") |
|||
Line 1: | Line 1: | ||
<div class="docs-alert-info"><i class="fa fa-info-circle"></i> This page describes a feature available in version 7.10 and above.</div> | <div class="docs-alert-info"><i class="fa fa-info-circle"></i> This page describes a feature available in version 7.10 and above.</div> | ||
− | |||
− | |||
==What are domain categories?== | ==What are domain categories?== |
Revision as of 16:58, 11 June 2020
What are domain categories?
Domain Categories are used in the client area to group domain TLDs into categories such as "Popular", "Shopping", or "Real Estate" and makes it easier for clients to navigate and find their ideal domain extension.
How do I customise the domain categories?
The domain categories shipped with WHMCS by default can be found in /resources/domains/dist.categories.json. This file should not be edited.
To add or edit domain category definitions, begin by creating a custom categories.json file located at /resources/domains/categories.json
Inside it, define the domain categories you wish to use. This file will remain in place when updating WHMCS.
TLDs can appear in multiple categories, for example, a UK-based company might include .UK and .CO.UK TLDs in the "Popular" category as well as a "Local Geographic" category.
Below is a sample custom categories.json file defining the domain category "Awesome Domains" with the ".whmcs" and ".whmcstest" domain TLDs.
Sample whois.json Override File
{
"Awesome Domains": [
".whmcs",
".whmcstest"
]
}
A domain category definition is simply the category name, with an array of the domain TLDs which should be included in that category.