GeoDirectory is built specifically for location-based directories. Where general directory plugins add location as a feature, GeoDirectory makes location central to everything – every listing has coordinates, map display is built into core, and search defaults to location-aware filtering. For local business directories, city guides, and any directory where “near me” matters, GeoDirectory’s architecture fits the use case better than generic directory plugins.
The GeoDirectory Setup Philosophy
GeoDirectory is designed to be multi-city or multi-location from the start. You configure a default location (your city or region), and the directory defaults to showing listings near that location. Users can change location in the search bar. This means if you are building a directory for a specific city, it works well, and if you later expand to multiple cities, GeoDirectory handles that without restructuring.
The plugin also comes with a built-in location selector page where visitors pick their city before browsing, similar to how Yelp or TripAdvisor work. This architecture makes sense for directories covering multiple metropolitan areas.
Step 1: Google Maps API Setup
GeoDirectory requires a Google Maps API key for map display and address geocoding. This is the most common setup hurdle. In Google Cloud Console:
- Create a new project (or use an existing one)
- Enable the Maps JavaScript API
- Enable the Geocoding API (for converting addresses to coordinates)
- Enable the Places API (for address autocomplete in listing submission)
- Create an API key and restrict it to your domain for security
Copy the API key and enter it in GeoDirectory -> Settings -> General -> Google Maps API Key. After saving, the map should render on GeoDirectory pages. If you see a grey map or a “For development purposes only” watermark, the API key is not activated correctly or billing is not enabled on the Google Cloud project (Google requires a billing account even for the free tier of Maps API).
Step 2: Configure Custom Fields
GeoDirectory’s custom fields system works differently from most plugins. Go to GeoDirectory -> Settings -> Custom Fields. Fields are organised into packages that determine where they appear on the single listing page and in the submission form. Default fields include business name, address, phone, website, email, business hours, and social media links.
Add custom fields specific to your directory niche. A restaurant directory needs price range and cuisine type. An accommodation directory needs room count and amenities. Each field has a display position setting controlling where it appears in the listing template.
Need help building your directory site? Describe your project and get a free estimate.
Step 3: Categories and Schema Markup
GeoDirectory categories are more powerful than standard WordPress categories because each category can have its own Schema.org type. Go to GeoDirectory -> Listings -> Categories -> Add New. When creating a restaurant category, set the Schema type to “Restaurant”. For a hotel category, set it to “LodgingBusiness”. This automatically generates the correct structured data for each listing, which helps with rich results in Google Search and Google Maps integration.
This schema automation is GeoDirectory’s strongest SEO feature. Getting the right LocalBusiness schema on thousands of listings manually would be impractical – GeoDirectory handles it automatically based on category assignment.
Step 4: Configure Location and Search
Go to GeoDirectory -> Settings -> General. Set your default location (country, state, city). This is what new visitors see before they specify their own location. Configure the search radius defaults – how many miles or kilometers the search covers around the entered location.
The location detection feature uses the visitor’s browser geolocation API to automatically detect their location. Enable this if your directory serves multiple cities and you want visitors to automatically see listings near them without manually entering a location.
Step 5: Import Listings With GeoDirectory Importer
For directories that need to start with existing business data (rather than waiting for self-submissions), GeoDirectory has a built-in CSV importer. Go to GeoDirectory -> Tools -> Import/Export. The CSV must include columns for the business name, address (which GeoDirectory geocodes to coordinates on import), and any custom fields. For large imports, the geocoding process runs in batches to avoid Google API rate limits.