Update Countries Data

Geonames Database

The script relies on the Geonames database (http://www.geonames.org) for city and administrative division data. However, this database has incomplete coverage for many countries.

You can update the database through Admin panel → Settings → International → Countries to add new data, modify existing entries, or delete information while respecting Geonames formatting standards.

Certain countries like Kosovo and some island territories are not automatically supported due to unreliable data sources. These require manual additions through your admin panel.

Admin panel countries settings

Your own Database

You may replace Geonames data entirely with your own information. Warning: This action permanently removes all website data, including posts and user accounts. This approach is unsuitable for production websites.

To implement custom data:

  • Clear the "subadmin1", "subadmin2", and "cities" tables using phpMyAdmin
  • Add new country data through your Admin panel for active countries

Was this article helpful?

Thank you for your feedback!

Still need help? Create a support ticket

Create a Ticket