Setting Up Locations For UK Directories
Your Brilliant Directories website is integrated with Google Maps API. This means that your website is powered by the robust functionality of Brilliant Directories. This also means that there are certain limitations regarding what Brilliant Directories can do to edit Google Maps functionality.
Here are some important items every United Kingdom Website owner should be aware of:
Google Location Types:
Google assigns "United Kingdom" as the "Country" location type and "England" as the "Administrative Area Level 1" type which is normally reserved for States and Provinces.
In all, Brilliant Directories uses five location types that you can set to either "bounds" or "radius". The Bounding and Radius Location Searches articles outlines in detail the difference between these settings and what each means.
It is important to understand that although only five settings appear in the admin, there are 24 total location types that are controlled by these six primary settings, and all are based on the Google Location response. The parent settings are:
- "Zip / Postal Code" searches are for Zip Codes
- "Locality" searches are for cities
- "Administrative Area Level 2" searches are for counties
- "Administrative Area Level 1" searches are for States and Provinces
- Country
There is a sixth location type that the Brilliant Directories system does not provide settings or SEO templates for:
- "Neighborhood" searches are very rarely used and we would recommend not modifying this setting
The following chart shows all of the google location types and which primary setting they are tied to:
Hiding "United Kingdom" From URL Structure
Brilliant Directories makes it easy to hide the "country" location type and swamp it for the "Administrative Area Level 1". This means that your member and feature posts URL structure will go from looking like this:
- http://mysite.com/united-kingdom/medecine/dr-patrick-awesome
To - http://mysite.com/england/medecine/dr-patrick-awesome
To accomplish this, navigate to the Settings >> Advanced Settings and conduct a search for Member Profile URL Structure setting:
The next step would be replacing the country_name variable with the state_name variable. After the changes, the new structure would look like this:
Optimizing Field Labels via Form Manager To Match United Kingdom Locations
Enable the Display View for the field with the variable name country_code if planning to display this value on profiles pages and disable it this field needs to be hidden on profile pages. Please remember that the "Country" value will always be "United Kingdom" hence many site owners choose to hide this:
Optional #1: If you wish to add neighborhoods such as "Basford" or "Canton", please create a new field for this location type. To add a new field, simply click on Add Field button. This is how this newly created field would look like:
Optional #2: If you wish to add UK counties such as "Nottinghamshire", please create a new field for this location type. To add a new field, simply click on Add Field button. This is how this newly created field would look like: