• theodorlindberg

    (@theodorlindberg)


    Hi! I am creating multiple city targeted landing pages for a sunshade product for a customer in Elementor. We will target hundreds of cities and the only difference between the pages will be the name of the city. Here is an example for the city of malmö: https://www.solsegelsverige.se/pergola-malmo/

    The goal is if someone searches for example “sunshade (insert any swedish city)” on google, we have a page targeted for that city.

    Earlier, we have done this manually by copying the underpages one by one and editing them, but this is way too time consuming, takes up too much speed on the website and is inconvenient if we want to edit something.

    So my question is, how would you do this? And will the number of cities affect the speed of the site? since we will have hundreds of cities.

    Thank you,

    Teddy

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    The best solution depends on how disparate the content is from city to city. If the page layout is essentially the same, where only the specific content varies, a custom template or pattern could be built which generates custom data for each city. The specific content is in turn queried from the DB. While Elementor could be used to create some of the content, the essential elements that depend on which city would be generated via custom template or pattern code.

    This way, you don’t really need multiple landing pages. The same page can serve many cities. For example, the page could just be called /pergola/ and the city name tacked onto the end that serves essentially as a query string. An example URL could be example.se/pergola/malmo/. You’ll want a custom rewrite rule that tells WP that the URL element after /pergola/ is a city name that should be used to generate the correct content.

    In short, let code handle all the specifics about any given city. Everyone would land on the same page, but the page content is tailored to their city.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.