Updating the content of created pages allows you to reflect changes made to your source data on the live pages. This could include editing page details, adding new pages for additional entries, or modifying placeholders with updated data.
If you want to update the design, layout, or static content of your pages, refer to the article on Updating the Look of Created Pages.
This feature is available for the LPagery Extended plan and above.
Click here to purchase LPagery Pro ->
Important: Updates always apply only within the specific Page Set you are working on. This means LPagery does not consider other pages outside of the selected Page Set on your WordPress instance.
Starting the Update Process
There are two ways to begin updating your pages:
From the Dashboard Menu:
From the Manage Section:
Once you’ve started the update process, you’ll be prompted to select the type of update you want to perform.
Step 1: Select "Update Content"
Choose Update Content as the type of update. This option updates the content of the created pages, adds new pages for new entries, or modifies existing pages based on changes in the source data.
Step 2: Choose Source Data Type
Select the same source data type that was used during the initial page creation:
CSV/XLSX: Upload an updated CSV or XLSX file.
Radius: Adjust radius settings for new or updated city-based pages.
Google Sheet: Enter the updated Google Sheet URL or ensure that the Google Sheet Sync is enabled.
Step 3: Upload or Link the Updated Source Data
For CSV/XLSX:
Upload the updated file that includes changes to existing entries or new rows for additional pages.
For Radius:
Enter new radius settings, such as adjusting the location, radius distance, or number of fetched cities.
For Google Sheet:
Paste the Google Sheet URL of the Sheet you originally used and updated. Ensure that the sheet reflects the latest updates.
Step 4: Review Updates
Click on "Review & Update Pages" and LPagery will display a summary of changes:
New pages to be added.
Existing pages to be updated with changes from the source data.
No changes if the source data is identical.
You can see a "+" when a new page is added and the title of the page, if that page is going to be updated.
Confirm the changes and click Review & Update Pages.
Page Creation or Page Update?
LPagery decides whether to create a new page or update an existing one based on the slug of the pages. The slug is the part of the URL that uniquely identifies a page, and it is typically generated using placeholders in your source file (e.g., {service}-in-{city}
).
How Does It Work?
If the slug of a page already exists, LPagery updates that page with the new data from the source file.
If the slug is new, LPagery creates a new page.
Because of this, it's essential to be cautious when changing the values in the columns used to generate the slug. A change in these values will result in a new slug, causing LPagery to create a new page instead of updating the existing one.
Examples
Initial Source File:
Service | City |
Window Cleaning | Manhattan |
Floor Cleaning | Brooklyn |
LPagery generates the pages based on these slugs.
Updated Source File:
Service | City |
Window Washing | Manhattan |
Floor Cleaning | Brooklyn |
The value for service for Window Cleaning in Manhattan has changed to window-washing-in-manhattan because the service name was updated to "Window Washing."
LPagery detects the new slug and creates a new page for Window Washing in Manhattan instead of updating the existing page.
Here are some more examples on when a page is added or updated:
Example 1: Adding a New Page
Original Source File
Service | City | Price |
Window Cleaning | Manhattan | $100 |
Floor Cleaning | Brooklyn | $120 |
Updated Source File
Service | City | Price |
Window Cleaning | Manhattan | $100 |
Floor Cleaning | Brooklyn | $120 |
Carpet Cleaning | Queens | $150 |
Result:
A new page for "Carpet Cleaning in Queens" is created.
Example 2: Modifying Details of an Existing Page
Original Source File
Service | City | Price |
Window Cleaning | Manhattan | $100 |
Floor Cleaning | Brooklyn | $120 |
Updated Source File
Service | City | Price |
Window Cleaning | Manhattan | $110 |
Floor Cleaning | Brooklyn | $120 |
Result:
The "Window Cleaning in Manhattan" page is updated with the new price of $110 and no new page is created.