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.
Create: The pages will be created and suffixed with a “-2” so in this case “floor-cleaning-in-brooklyn-2”
Ignored: The pages will not be created (Available in Extended only)
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.
How is this working with active Google-Sheet Syncs?
To integrate existing pages into LPagery using already active Google Sheet Syncs, navigate to Manage → Update and update the content using the same Google Sheets URL as before. In the confirmation dialog, you will have the option to specify how the pages should be handled.
Please note that this update only applies to the next sync. If you need to reintegrate pages in the future, you will need to repeat the update process. This approach ensures that existing pages are not unintentionally overwritten.