Skip to main content
All CollectionsCreate Pages
Create pages for cities around you
Create pages for cities around you

With our radius input feature you can easily create pages for cities around you. We'll guide you through on how to use it.

Jonas Lindemann avatar
Written by Jonas Lindemann
Updated over 2 months ago

LPagery allows you to automatically generate pages for cities and suburbs near a specific location. Here's how to set up the page generation using the input options shown in the screenshot.

This is a LPagery Pro Feature!


Step 1: Creating a Template Page with Placeholders

To dynamically create pages for the cities fetched in the radius search, you need to create a template page in WordPress. The placeholders from the column headers will be inserted into the content of the template page.

Here are the available placeholders you can use:

  • {city}: Will be replaced by the name of the city.

  • {population}: Will be replaced by the population of the city.

  • {distance}: Will display the distance from the central location.

  • {latitude}: Will insert the latitude of the city.

  • {longitude}: Will insert the longitude of the city.

For example, you could set up the template page with the following text:

"Welcome to the best services in {city}, located just {distance} km away."

When the pages are generated, each placeholder will be replaced with the actual data for each city.


Step 2: Select your created template page


Step 3: Choose "Radius" as Input


Step 3: Configure Radius Settings

Once you've selected the Radius input, you will need to enter the following information:

  • Location: Enter a city or your exact location that will serve as the central point for your search radius.

  • Minimum Population: Specify the minimum population for cities or suburbs to be included.

  • Radius (km): Set the distance around the central location within which pages will be generated.

  • Max Fetched Cities: Limit the number of cities or suburbs for which pages will be created.


Step 4: Review and Select Cities

After configuring your radius settings, LPagery will display a list of cities that meet your criteria. The table will include columns for:

  • City

  • Population

  • Distance from the central location

  • Latitude

  • Longitude

You can then proceed to generate pages for each of these cities using the settings provided.


LPagery will create individual pages for each city based on the provided information and settings.

This method allows you to quickly and efficiently create pages for multiple locations without having to manually input data for each city or suburb.

Result:

When we go to the created pages, we can see, that all the pages from the defined radius are created. (This is only a small part of the list)

Did this answer your question?