Guides & TutorialsOrder Forms IntroductionCustomising Domain Categories

Customising Domain Categories

What are Domain Categories?

Domain Categories are used on the domain registration page (cart.php?a=add&domain=register) to  group domain TLDs into categories such as "Popular", "Shopping", or  "Real Estate". This makes it easier for clients to navigate and find their ideal domain extension:

Browse extensions by category

Customising Domain Categories

The categories under which TLDs are listed can be customised by creating a file specifying the desired category. New and specialised TLDs can be also be categorised.

This is a simple 3-step process:

1. Begin by creating a custom categories.json file

2. Using your preferred code or text editor, define the domain categories you wish to use in a json array format. For example:

{
"Awesome Domains": [
".com",
".net"
]
}

3. Upload the file to your WHMCS installation's /resources/domains/ directory

 

That's all there is to it; the changes will take effect immediately and the domains are now be categorised as defined in the file.

Further Reading

To learn more about the domain categories overrides file, refer to the Domain Categories Documentation.