How to Push Specific Pages Within WordPress?
Push only the pages you changed from staging to live without overwriting orders, users or comments: manual copy, WP-CLI, export and host options.

To push specific pages in WordPress, you move only those pages from your staging (or local) site to the live site, instead of pushing the whole database. For one or two pages, copy the content across by hand or with WP-CLI (wp post get on staging, wp post update on live). For larger batches, use a post-level sync tool, because the “push to live” button most hosts offer works on whole database tables, and pushing the table that holds your pages also overwrites every live post, product, menu and form entry stored in it.
That last point is where most bad pushes start. Our team checked every host option, command and plugin fact in this guide on 18 November 2026, against the official host documentation, the WP-CLI handbook, the WordPress Importer source code and the WordPress.org plugin directory, on WordPress 7.1.4 and WP-CLI 2.12.0.
Search Console has not recorded any queries for this page yet, so the headings below follow the questions site owners ask when they have finished a page on staging and want only that page on the live site.
What does “push specific pages” mean in WordPress?
It means taking a handful of pages you built or edited on a copy of your site and putting them on the live site, while everything else on live stays exactly as it is. A typical case: you redesigned the Pricing and About pages on staging over two weeks. In those two weeks the live site took orders, collected comments and gained new users. You want the two pages, not the old copy of everything else.
WordPress itself has no “push this page” button. Core gives you Tools > Export, which can export all pages filtered by author, date range or status, but you cannot tick individual pages there. So every method in this guide is a workaround built on one of three levels:
Level | What moves | Examples |
|---|---|---|
Whole site | All files and the entire database | Host “Full” push, full-site migration plugins |
Table or folder | Chosen database tables and file paths | Kinsta, WP Engine and SiteGround selective push, WP STAGING Pro, WP Migrate Pro |
Single post or page | One page, its content and some of its metadata | Manual copy, WP-CLI, WXR export and import, Distributor |
Pushing specific pages safely almost always means working at the third level, or at the second level with great care.
Why not just push the whole staging site to live?
Because a database push replaces, it does not merge. Kinsta’s documentation puts it plainly: when you push the database, any changes to the live database since the staging site was created are lost, which includes comments, new content, purchases, sign-ups and forum posts. WP Engine’s copy guide warns that copying the full database to production can overwrite new orders or users. WP STAGING’s own WooCommerce guide says you cannot automatically merge orders and products from the live and staging sites.
The trouble is that WordPress stores very different things in the same few tables. Pages are rows in wp_posts, but so is almost everything else:
Table | What lives there besides your pages |
|---|---|
| Blog posts, revisions, media library items, menu items, WooCommerce products, synced patterns, and on block themes the edited templates, template parts, navigation menus and global styles |
| Page builder layouts, SEO titles and descriptions, product prices and stock, custom fields |
| Site settings, active plugins, widgets, the “Discourage search engines” setting, plugin licence keys |
| Comments, and WooCommerce product reviews |
| Every account, including customers who registered while you worked on staging |
HPOS order tables | WooCommerce orders on stores using High-Performance Order Storage ( |
So a “selective” push of only wp_posts and wp_postmeta still replaces every live blog post, product and menu item with its staging version, and deletes anything created on live after you made the copy. If you want a refresher on what each default table holds, our post on how many tables a default WordPress install has walks through all twelve.
One piece of good news for stores: since WooCommerce 8.2 (October 2023), High-Performance Order Storage is on by default for new installs, so orders on those stores live in their own tables instead of wp_posts. Products, reviews and customers still live in the shared tables, though, so the risk is smaller, not gone.
Which method should I use to push specific pages?
Pick by how many pages you are moving and how they were built. This is the short version; each method has its own section below.
Method | Best for | Brings media? | Risk to live data | Skill needed |
|---|---|---|---|---|
Copy and paste blocks | 1 to 3 block editor pages | No, re-add or copy files | None | Low |
WP-CLI post get and update | Updating existing live pages | No, copy files separately | Only the target page | Medium |
WXR export and import | New pages that do not exist on live yet | Yes, if staging is publicly reachable | Low, but can duplicate | Medium |
Post-level sync plugin | Regular page pushes between two sites | Usually, check the plugin | Low to medium | Low |
Host selective push of tables | Theme and plugin changes, rarely pages | Files yes, if selected | High for pages | Low to click, high to get right |
How do I copy one page from staging to live by hand?
For a page or two built in the block editor, the manual route is often the safest, because nothing touches the live database except the page you are editing.
- Open the page on staging. In the editor, open the Options menu (the three dots, top right) and choose Copy all blocks.
- On the live site, open the matching page (or create a new draft with the same slug), click into the empty content area and paste. The blocks arrive with their settings.
- Check every image and file. Pasted blocks still point at the staging URLs and staging attachment IDs. Upload the images to the live Media Library and swap them in, or the page will break the day you delete staging.
- Copy what is not in the content: the page template, featured image, excerpt, parent page, SEO title and description, and any custom fields.
- Preview, then publish or update. WordPress stores a revision, so you can roll back from the Revisions panel if something looks wrong.
Two limits are worth knowing. If the page uses a synced pattern, the paste carries a reference to that pattern’s ID, which will not match on live; export the pattern as JSON from the Patterns screen on staging and import it on live first. And if the page was built with a page builder such as Elementor, the layout is stored in post meta rather than in the content, so “Copy all blocks” moves almost nothing. Use the builder’s own template export and import instead.
How do I push specific pages with WP-CLI?
If you have SSH access to both sites, WP-CLI turns the manual copy into a few repeatable commands. The idea: read the content of the staging page, swap the staging domain for the live one, and write it into the matching live page. Only that one row changes.
Step 1: set up aliases for both sites
Aliases let you run commands against either site from your own computer. Add them to a wp-cli.yml file in your project folder (or ~/.wp-cli/config.yml):
# Checked on 18 November 2026 against the WP-CLI 2.12.0 config handbook.
@staging:
ssh: deploy@staging.example.com
path: /var/www/staging
@live:
ssh: deploy@example.com
path: /var/www/htmlStep 2: find the page IDs on each side
The same page usually has a different ID on staging and live, so match them by slug, never by ID:
# List recently changed pages on staging
wp @staging post list --post_type=page --fields=ID,post_title,post_name,post_modified --orderby=modified --order=DESC
# Find the live page with the same slug
wp @live post list --post_type=page --name=pricing --fields=ID,post_title,post_statusStep 3: back up the live page, then copy the content
# Checked on 18 November 2026 with WP-CLI 2.12.0 on WordPress 7.1.4.
# 1. Keep a copy of the current live content
wp @live post get 87 --field=post_content > pricing-live-backup.html
# 2. Read the staging version and swap the domain
wp @staging post get 312 --field=post_content \
| sed 's#https://staging.example.com#https://example.com#g' > pricing.html
# 3. Upload the file and write it into the live page
scp pricing.html deploy@example.com:/tmp/pricing.html
wp @live post update 87 /tmp/pricing.htmlwp post update accepts a file path as its last argument and reads the post content from it, which avoids shell quoting problems with large pages. The update goes through wp_update_post(), so WordPress saves a normal revision and you can restore the old version from the editor.
The domain swap matters. Staging links and image URLs inside the content would otherwise ship to live. Content is plain text here, so sed is fine; for serialized data in post meta or options, use wp search-replace, which handles serialized values properly. Our WP-CLI search-replace guide covers the flags, including --dry-run.
Step 4: copy the metadata and media the page depends on
Content is only part of a page. Compare the metadata on both sides before you call it done:
# See which meta keys the staging page has
wp @staging post meta list 312 --format=table
# Copy one value across, for example the page template
wp @live post meta update 87 _wp_page_template "$(wp @staging post meta get 312 _wp_page_template)"Then copy any new image files. If you added images on staging, the files sit in staging’s wp-content/uploads and are not in the live Media Library. Copy the files, then register them on live with wp media import, and update the image references in the page if the attachment IDs changed.
What about pages that do not exist on live yet?
For brand new pages, a WXR export and import is cleaner, because it creates the page with its metadata and can fetch its images. WP-CLI’s export command can target exact IDs:
# Checked on 18 November 2026 against the WP-CLI export and import docs.
# On staging: export two pages plus the attachments that belong to them
wp @staging export --post__in=312,318 --with_attachments --dir=/tmp --filename_format=new-pages.xml
# Copy the file to live, then import it there
wp @live plugin install wordpress-importer --activate
wp @live import /tmp/new-pages.xml --authors=skip --user=your-admin-loginThree details from the documentation and the importer source catch people out:
- Attachments are left out by default when you use
--post__in. The WP-CLI docs say attachments only come along if you add--with_attachments. - The importer downloads images from the staging URL. If staging is behind a password or a firewall, the page imports but its images fail.
- The importer will not update an existing page. In the WordPress Importer code, any incoming post whose title, date and post type match an existing post is skipped with an “already exists” message. That is why WXR import suits new pages, and the get-and-update route suits pages that already exist on live.
The WP-CLI import command also has a --rewrite_urls flag that rewrites old-site links, but its documentation notes it is not in a stable WP-CLI release yet, so plan on a search-replace afterwards.
Can my host push only specific pages to live?
Not page by page. The big managed hosts offer a selective push, but it works on files, folders and database tables. Here is what each one offers, read from their documentation on 18 November 2026:
Host | Selective options | Automatic backup | Warning in the docs |
|---|---|---|---|
Kinsta | Specific files and folders, specific database tables, optional search and replace | Yes, of the target before the push | Live database changes since staging was created are lost; WooCommerce orders are not told apart |
WP Engine | Custom copy: files and/or database, all tables or selected tables | Yes, destination backed up before and after | A full database copy to production can overwrite new orders or users |
SiteGround | Custom Deploy: pick added, updated or deleted files and tables | Not stated on the deploy page | Full Deploy replaces both files and database of the live site |
A selective push is excellent for what it was built for: theme files, plugin folders, or one plugin’s custom table. For pages it is a blunt tool. Picking wp_posts moves every row in that table. If your live site has had no content changes since you made the staging copy, that is fine. If anyone has published, commented, registered or bought anything, it is not.
Two more things hosts mention that bite on page pushes. Kinsta notes that redirects, PHP and Nginx settings are always included, even in a selective push, and overwrite the destination. SiteGround’s push will not run if the staging WordPress version is older than live, so update staging core first.
Which plugins can push individual pages between sites?
There are two kinds, and they solve different problems.
Table-level tools: WP STAGING Pro and WP Migrate Pro
WP STAGING (free version 4.21.0, over 100,000 active installs, updated 13 November 2026 per WordPress.org) creates staging copies; pushing back to live is a Pro feature. Its push lets you choose tables and folders, and its documentation warns that any table you choose completely overwrites its counterpart on production. WP Migrate (Lite 2.7.12, over 200,000 installs) can push and pull databases between sites in the Pro version, with a table picker and a WP-CLI --include-tables option. Both are first-rate for moving a database or a set of plugin tables; neither picks out single pages.
Post-level tools: Distributor and newer single-page plugins
Distributor, from the agency 10up, pushes and pulls individual posts and pages between sites, either inside a multisite network or between separate sites over the REST API with Application Passwords. Version 2.3.2 shipped on 23 September 2026; it is not in the WordPress.org directory, so you get it from distributorplugin.com or GitHub, and it must be installed on both sites. Its README lists the limits honestly: copies stay linked to the original, the canonical URL points at the original by default, post meta that references other content IDs is not carried over, and blocks missing on the receiving site turn into Classic blocks.
That canonical default matters for a staging-to-live workflow. A live page whose canonical tag points at your staging domain is a search problem, so you would need a filter to change it, or you should treat Distributor as a content-syndication tool rather than a deploy tool.
A few newer plugins on WordPress.org aim squarely at “push one page from staging to live”, such as Content Relay (version 1.0.0, added 29 October 2026). At the time of writing it shows almost no active installs and no reviews, so test any tool like it on two throwaway copies before you trust it with real pages.
What about block theme templates, menus and patterns?
On block themes, a page rarely stands alone. When you edit a template or the header in the Site Editor, WordPress saves your changes as posts of special types: wp_template, wp_template_part, wp_navigation for menus, wp_global_styles for styles, and wp_block for synced patterns. If your new Pricing page relies on a new template or a changed header, those rows need to move too.
You can handle them the same way as pages. Copy the markup across in the Site Editor’s code editor, or use wp post list --post_type=wp_template on both sides and update the matching row by slug. Templates you never edited are not in the database at all; they come from the theme files, so pushing the theme folder carries them.
Classic menus behave differently: menu items are nav_menu_item posts tied to page IDs, so they rarely survive a copy between sites with different IDs. Rebuilding a changed menu on live by hand is usually faster than moving it.
A safe checklist before you push any page
- Take a fresh backup of the live site, database and files, and confirm you can restore it. Host backups count if you know where the restore button is.
- Write down exactly what changed on staging: which pages, templates, patterns, menus, media and settings. If you cannot list it, you are not ready to push it.
- Check what has changed on live since the copy was made: orders, comments, users, form entries, new posts. This decides whether a table-level push is even an option.
- Choose the method from the table above. For existing pages, copy content into the matching live page. For new pages, export and import.
- Swap the staging domain for the live one in every pushed piece of content, and copy the media files.
- Push during a quiet hour and purge every cache layer afterwards: plugin, server and CDN.
- Check the live page as a logged-out visitor on desktop and at phone width, and view the source for any leftover staging URLs.
- Confirm the site is still visible to search engines (see the mistakes list below).
If the staging copy runs on your own computer, our guide to installing WordPress on localhost covers the local setup, and the same push rules apply. Teams that keep their theme and plugin code in Git can move code changes through their repository and keep page pushes for content only; our post on whether to put your whole WordPress site on GitHub explains where that line sits.
Common mistakes people report
These come up again and again in support forums and host documentation. We checked each source on 18 November 2026.
- Losing live orders and customers to a database push. In a resolved WordPress.org thread, a store owner who rebuilt their shop on staging while the live store kept taking orders, refunds and new users asked how to merge the two; the answer was that there is no automatic merge and the work has to be done by hand. WP STAGING says the same in its WooCommerce push guide, and Kinsta’s push documentation notes it does not distinguish new orders from old ones.
- Excluding the posts table and losing the pages too. A common workaround is to push everything except
wp_postsandwp_postmetato protect orders. WP STAGING’s guide points out the catch: pages, posts and menus live in those same tables, so they are left behind, and images or layout pieces can go missing. - Imported pages still loading images from the old site. A long-running WordPress Importer support thread collects reports of attachments not importing when only one content type is exported, and of image links still pointing at the source site. Export with attachments, make sure the source is reachable, and run a search-replace afterwards.
- Live site dropping out of search after a push. Staging sites usually have search engines discouraged, and a database push carries that setting to live. In a Roots forum thread from August 2021, a site converted from staging to production kept its noindex robots tag, set this time by a must-use plugin rather than the Reading setting. After any push, check Settings > Reading and view the page source for a robots noindex tag.
- Expecting files to move without the database. In a Kinsta Community thread, a DevKinsta user pushing a local site to staging found the files could not go without the database, and a reply confirmed that pushing files or subfolders seemed to need the database pushed with them. The reverse catches people too: Kinsta’s docs warn that a files-only push does not create the database tables of plugins that were only installed on staging.
- Pushing a staging copy older than live. SiteGround’s deploy tutorial says the push does not work if staging runs an older WordPress version than live, and WP STAGING requires matching core versions too. Update staging first.
Snippets are a quieter version of the same problem. Code saved in a snippets plugin lives in the database, not in your theme files, so a files-only push leaves it behind and a database push can overwrite live snippets. Our post on where WordPress snippets live explains how to keep them in code you can deploy.
Frequently asked questions
Can I push one page from staging to live without a plugin?
Yes. Copy all blocks in the editor and paste them into the live page, or use WP-CLI’s wp post get and wp post update as shown above. Both change only the page you target. Remember the images and the metadata.
Will pushing a page change its URL on the live site?
Not if you update the existing live page. The URL comes from the live page’s slug and parent, which stay the same when you replace only the content. Importing a page whose slug already exists on live creates a second page with “-2” on the end, so check slugs before importing.
Does the page keep its comments and revisions?
Updating the live page in place keeps its live comments and adds a new revision. Revisions from staging do not come across with either method, which is usually what you want.
What about WooCommerce product pages?
Products are posts too, with prices and stock in post meta. Pushing product pages from staging can reset stock counts and prices that changed on live, so update product content on live directly, or push only the description field with WP-CLI.
Is it safer to make the changes on live in draft?
Often, yes. WordPress lets you work on a draft page, and many teams build a new page on live as a draft, then publish it, keeping staging for theme and plugin testing. For changes to an already published page, a revision plugin that lets you edit a copy and publish it later avoids the push question entirely.
How do I undo a page push?
If you updated the page in place, open its Revisions panel on live and restore the previous version, or write back the backup file you saved with wp post get. If you pushed whole tables, restore from the backup your host or plugin took before the push; that also rolls back anything that happened on live since, so act quickly.
Plugins we build and run
We maintain these ourselves, which is why we can support them on your site.
- BuddyNextThe self-hosted community engine for WordPress
- BuddyXFree community theme, Pro when you outgrow it
- ReignPremium community theme. Add pieces, build anything
- JetonomyCommunity forum and Q&A for WordPress
- EventonomyEvents and RSVPs for WordPress communities
- LearnomyCourses and learning communities on WordPress
- ListoraDirectories and listings your members can browse
- SnipShareCode sharing built for developer communities
- WB Ad ManagerAd placements that turn traffic into revenue
- WP Career BoardA job board your community actually uses
- WP Sell ServicesSell services with offers, orders, and payouts
- MediaVersePhotos, video, and media albums for members
- WB GamificationPoints, badges, and rewards that keep members active
- Product RoadmapPublic roadmaps with voting your users trust


