Skip to main content
All CollectionsAdvanced Guides
Update and integrate existing pages that were not created with LPagery into a page set
Update and integrate existing pages that were not created with LPagery into a page set

If you have existing pages on your website which you want to manage with LPagery follow this guide.

Jonas Lindemann avatar
Written by Jonas Lindemann
Updated yesterday

Before using this feature:

Please be aware that this will overwrite the complete content of the existing page and match it to the content of the template page and the dynamic data from the source file.

When to Use This Feature

This functionality is beneficial when you already have existing pages and want to integrate them into LPagery and manage them with our plugin.

LPagery identifies pages by the post type, the slug and the parent. The parent is only taken into consideration when having hierarchical posts or pages. If all 3 attributes of an existing page are equal to a page that you would create with a new source file, LPagery finds the pages and lets you choose what should happen with the pages.

Example

In this example, we have one existing page (Which was not created with LPagery) for Floor Cleaning in Brooklyn.

The slug for this page is “floor-cleaning-in-brooklyn

Now, we create the source file like this:

city

service

Brooklyn

Window Cleaning

Manhattan

Floor Cleaning

Brooklyn

Floor Cleaning

Manhattan

Window Cleaning

Now our target is to update and integrate the existing page (“floor-cleaning-in-brooklyn”) into LPagery and the other pages we create with this source file.

We configure the creation form like this:

After clicking next, we receive a warning:

Here you can select what should happen with the existing pages.

  1. Create: The pages will be created and suffixed with a “-2” so in this case “floor-cleaning-in-brooklyn-2”

  2. Ignored: The pages will not be created (Available in Extended only)

  3. Updated: The pages will be updated and integrated into the page set (Available in Extended only)

We use the third option here to integrate the found page into our LPagery page set instead of creating a new one.

So we select “Updated” and click on “Create X Pages”.

Now we have created 3 pages and updated the existing one. This existing page is now managed by LPagery and you can update it like any other page you created with LPagery.

Please be aware that this will overwrite the complete content of the existing page and match it to the content of the template page and the dynamic data from the source file.

Did this answer your question?