Welcome to the OpenCities help centre. Search for what you're after, or browse the categories.
Can't find what you're looking for? Submit a support ticket and we'll be in touch.

Follow

Create an OC Location page

avatar of Kira Hartley

Kira Hartley

Last updated

The OC Location content type is used to provide map pins to places of interest. For example, you may have a location that does not require a whole venue page, but you still need to put it on a map. By creating an OC Location page for it, you can create a map pin and link it out to a page with more information.

Location pages can redirect to more informative pages on your site, but they are not meant to be pages in their own right. For this reason, a redirect link is required before you can publish the page, and the OC Location page can be viewed in listings and search results. 

Because OC Location pages will often have similar names to other informative pages, they can cause multiple entries in the site search. If you want to limit this, you can turn site search off for this content type by going to More > Site Management > your site > Settings > Site Search and deselecting OC Location from the site search and predictive search selection fields.

It is important to remember, however, that OC Location pages cannot be hidden from search on the page-level. To check this go to the Settings tab of the location page and ensure that the Hide this page from search box is unchecked. If this is option is selected, your OC Location page will not show on any maps.

Here are some common examples for using location pages:

  • Mapping Defibrillator locations 
  • Mapping road closures
  • Mapping waste collection centers

How to create an OC Location page

  1. Right-click in the site tree where you want to create the page. We recommend creating the location pages from each map in one OC Folder
  2. Select Create Page.
  3. Choose OC Location as the content type.
  4. Fill in the necessary fields.
  5. Publish the location page.
  6. Create a map to host the location.

What to include on your location page

Field Function
Page name Completes the unique page URL
Page title The title of the page displayed on maps, listings, and in search results
What is the purpose of this content? This will be displayed in listings A brief overview of the page for listings and search results
Redirect to

Use the Insert links option to link to internal pages by selecting that page through the content selection menu. 

You can also insert external links by pasting the URL into the Link URL field

Add page image Used as the main image displayed on landing pages or search results
Street address The street location for Google Maps
Locality The suburb for Google Maps
Postal code The postcode or ZIP code for Google Maps
Latitude Longitude (in decimal "lat, lon" format)

The latitude and longitude to determine the location on a map. You can add this yourself, or it will be automatically generated from the street address when the page is published.

We recommend manually entering the lat/long for locations that don't have a fixed address. This will drop a map pin at the coordinates you specify.

Note: if you are adding this manually, please ensure the 'Overwrite lat/long values when the page is published' setting is set to 'No'. Access this setting from More > Site Management > your site > Settings > Location

Supporting information
Add common search terms people would use when looking for this content Keywords or metadata to boost the page in search results
Content labels

These labels organize your content internally (i.e. your site visitors won't see the labels.

You can also use these labels to filter locations pages on maps.

a map using locations to create map pins for waste collection centres

What else?

Was this article helpful?
0 out of 1 found this helpful