Home › Blog › Article

How to Migrate WordPress Posts Without Losing Rankings

How to Migrate WordPress Posts Without Losing Rankings

how to migrate wordpress posts is the controlled transfer of post content, metadata, taxonomies, media, author records, permalinks, comments and SEO signals from one WordPress install, domain, server or CMS into another without changing indexable URLs or losing attribution. A good implementation proves parity with crawled URL counts, status codes, canonical tags, structured data and analytics baselines; a bad one exports rows, imports them and calls the job complete.

What Decision Makers Are Actually Buying

You are not buying a button click. You are buying continuity. In 2026, a post migration touches the database, uploads directory, object cache, search index, CDN rules, XML sitemaps, RSS feeds, editorial workflow and often a domain move. The vendor must define the source of truth before work starts. That source is usually the production database plus wp-content/uploads, not a staging copy from last week.

Ask for a written inventory before asking for a price. It should list published posts, drafts, revisions, custom post types, postmeta keys, categories, tags, featured images, embedded media, shortcodes, Gutenberg blocks, ACF field groups, comment counts, author IDs and serialized options. A credible vendor will also count indexable URLs from the sitemap and a crawl, then reconcile the two. If those numbers differ by more than 2%, the scope is not yet understood.

For broader moves that include DNS, TLS, origin changes or a cross-CMS rebuild, our WordPress Site Migration service covers server, domain and cross-CMS moves that keep URLs and rankings intact. Use that level of scope when the post transfer is only one workstream inside a relocation.

Commercial evaluation should focus on evidence. Request a sample redirect map, a rollback plan, a QA spreadsheet and the exact handover artefacts. A vendor who cannot show a blank template of these documents in 2026 is selling labour, not a controlled migration. Tie payment milestones to a staged dry run, a production cutover and a 14-day observation window.

Vendor Options, Deliverables and 2026 Budget Ranges

Prices below assume English-language content, one production database, under 15,000 posts and no bespoke membership logic. They are planning ranges for vendor comparison, not quotes. Add 20–40% for multisite, multilingual tables, headless front ends or heavily customised editorial plugins.

OptionTypical 2026 rangeCore deliverablesBest fitMain risk
Native export/import only$0–$300WXR file, basic posts, categories, authorsSmall blog, same permalinks, no media-heavy postsFeatured images, postmeta and custom fields drift
Plugin-assisted clone$300–$900Database copy, uploads sync, search-replace, basic redirectsSame domain, new host, simple themeSerialized data and cache rules handled too loosely
Agency-managed post migration$1,200–$3,500Inventory, dry run, URL map, media audit, QA sheet, rollbackEditorial sites with 2,000–15,000 postsScope gaps around comments, authors and schema
Full relocation or cross-CMS move$3,500–$9,000+DNS, TLS, CDN, redirects, cross-CMS field mapping, 14-day monitoringDomain change, replatform, redesign, merged brandsIndexing volatility if staging blocks or canonicals leak

Use the table as a filter, not a scorecard. A $700 quote can be excellent for a host-only move. The same quote is a red flag for 8,000 posts with 30,000 attachments, three custom post types and a domain change. Ask each bidder to state the number of URLs they will verify, the number of redirects they will ship and the person who signs the QA sheet.

Step-by-Step: How to Migrate WordPress Posts Safely

  1. Freeze scope and take baselines. Export the database with wp db export or an equivalent dump, hash the uploads folder, save sitemap URL counts, top 200 landing pages, organic sessions for the last 28 days, 404 count, index coverage and current robots.txt. Record the PHP version, MySQL or MariaDB version, plugin list and table prefix. Do not edit production after this snapshot.
  2. Build a staging target and run a dry import. Recreate the destination, import posts and postmeta, preserve post IDs where possible, map author IDs, copy attachments and run a safe serialized search-replace. Rebuild permalinks, regenerate sitemaps and purge caches. Compare staging against the baseline with a crawl of at least the sitemap plus 10% of paginated archive URLs.
  3. Create the URL and redirect specification. One row per old URL. Columns: old URL, new URL, expected status, canonical, meta robots, title, H1, schema type and owner. Keep 301s one hop only. Preserve trailing-slash behaviour, case sensitivity, date-based permalinks, feed URLs and attachment pages. Reject wildcard rules unless the pattern is proven on 50 sample URLs.
  4. Cut over in a short window. Lower DNS TTL to 300 seconds 24 hours ahead. Put a controlled maintenance notice on writes, take a final delta dump, replay comments and post edits since the dry run, switch DNS or origin, issue or validate the certificate, warm caches and submit updated sitemaps. Keep the old host readable for 14 days.
  5. Verify and monitor for 14 days. Check 100% of mapped URLs for status, canonical and title parity. Spot-check 200 posts for featured image, excerpt, author, date, categories, tags, blocks and comments. Watch 404s, server logs, crawl errors, Core Web Vitals and organic clicks daily. Fix deltas within 24 hours, then close with a signed parity report.

If the move also changes protocol or host headers, align the redirect spec with Migrating to HTTPS: Certificates, Mixed Content, Indexing so certificate timing, mixed-content rewrites and canonical updates do not compete with the post redirects.

Get a Quote

Email + requirement + budget range — we reply with a quote within 24 hours.

Technical Parity Checks a Vendor Must Prove

Content parity is more than a word count. A post row carries ID, post_author, post_date, post_date_gmt, post_content, post_excerpt, post_status, post_name, post_modified, post_parent, guid, post_type and comment_count. Vendors should preserve IDs when the destination is WordPress-to-WordPress. ID changes break internal shortcodes, gallery references, custom queries, related-post logic and some schema graphs.

Database and serialized data

Serialized strings in postmeta, options and ACF fields break when a naive string replacement changes length. Require a PHP-aware search-replace that understands serialized arrays. Test one page builder field, one repeater field and one options panel before the full run. Check collation and charset too. A utf8mb3 target can truncate emoji or four-byte characters in 2026 editorial content.

Media, attachments and thumbnails

Attachments are posts. They need their own rows, metadata, alt text, caption, parent ID and generated sizes. Copy the full uploads tree, then verify a random 100-file sample by byte hash. Regenerate only missing sizes. Do not bulk-regenerate 30,000 images during cutover. Confirm CDN origin paths and purge rules before DNS changes; the cache guidance in Putting WordPress Behind a CDN: Cache Rules, Origin and Purging is useful when the new origin serves old signed URLs or stale HTML.

SEO signals and templates

Compare rendered HTML, not just database fields. Check title, meta description, canonical, robots, Open Graph, breadcrumbs, Article or BlogPosting schema, pagination rel links and hreflang where relevant. Theme changes often rewrite these silently. Keep a saved HTML diff for 20 representative posts: one evergreen guide, one news post, one paginated post, one with comments, one with a gallery and one with custom fields.

Comments, authors and feeds

Comment IDs, user IDs and avatar keys drift in imports. Verify threaded replies, moderation state, author attribution and subscription plugins. Check /feed/, category feeds, comment feeds and any newsletter automation that reads them. If RSS drives syndication, a broken feed is a revenue issue, not a cosmetic one.

How to Compare Vendor Proposals in 2026

Score proposals on measurable commitments. Require: a named technical lead, a dry-run date, a cutover window of under 60 minutes for typical editorial sites, a redirect map in CSV, a rollback trigger, a 14-day defect window and a final parity report. Ask who owns DNS, who owns the certificate, who purges the CDN and who can roll back at 02:00. Ambiguity here is the most common cause of a failed cutover.

Ask three diagnostic questions. First: how will you preserve post IDs and attachment parent IDs? Second: what exact crawl will you run before sign-off, and how many URLs will it include? Third: what is your rollback trigger if 404s exceed 0.5% of sampled URLs in the first two hours? Strong answers are specific. Weak answers mention plugins, backups and ‘manual checking’.

Contract structure matters. Split fees into discovery and baseline, dry run, production cutover and post-launch observation. Hold 15–25% until the parity report is accepted. Include a delta clause for content published after the snapshot. Editorial teams rarely stop completely, so the vendor must replay the delta instead of asking editors to re-enter changes.

For a wider procurement frame, Choosing a WordPress Website Migration Vendor in 2026 adds useful evaluation criteria around scope, ownership and acceptance testing. Use it alongside the technical checks above, not instead of them. At most one external reference should be needed for platform behaviour; the official WordPress CLI database export documentation is enough to standardise the baseline dump.

Common Mistakes

Common Mistakes
  • Exporting only the WXR file. It misses postmeta, custom fields, attachment metadata, comment status detail and many plugin relationships. Avoid it by requiring a full database dump, uploads hash and field-level inventory before any import.
  • Changing permalinks during a redesign. Teams combine a rebuild with a ‘cleaner’ URL structure, then ship 4,000 redirects with wildcards. Avoid it by freezing URL parity for launch, then planning any restructuring as a separate 2026 project with its own monitoring.
  • Leaving staging noindex or robots rules in production. One inherited line can deindex the whole archive. Avoid it by diffing robots.txt, meta robots, HTTP headers and the canonical template on 20 rendered posts immediately after DNS switch.
  • Ignoring the content delta. Editors publish during the 48-hour dry run, and those posts vanish at cutover. Avoid it with a write freeze or a logged delta replay, plus a published-after-snapshot query on both databases.
  • Closing the project on launch day. Crawl and CDN propagation continue for days. Avoid it by contractually requiring 14 days of 404, index and analytics monitoring with a named responder.

Acceptance Criteria and Handover Artefacts

Define ‘done’ before the invoice. A practical 2026 acceptance sheet has six passes: 100% of mapped URLs return the intended status with one hop maximum; 100% of sampled canonicals match the target; post, attachment, term and comment counts match within 0.1%; 200 sampled posts pass field-level review; sitemaps contain only 200-status canonical URLs; organic clicks and 404 rate stay inside an agreed band for 14 days. Set the 404 threshold at 0.5% of crawled URLs, not zero, so CDN edge noise does not trigger a false rollback.

Handover should include the final database dump, uploads inventory, redirect CSV, crawl export, HTML diff samples, plugin and PHP version sheet, DNS and TTL record, certificate details, CDN purge log, rollback instructions and the parity report. Store them in one versioned folder. Decision makers should be able to audit the move six months later without interviewing the developer who did it.

Rule of thumb: if a vendor cannot reproduce the migration from the handover folder alone, the migration was performed but not delivered.

Budget for observation, not just execution. A 6,000-post site with 12,000 attachments typically needs 18–30 hours of engineering, 6–10 hours of QA and 4–6 hours of monitoring across two weeks. Quotes far below that usually omit the redirect specification, the delta replay or the parity report. Ask which line was removed.

FAQ

How long does it take to migrate WordPress posts in 2026?

A simple same-host import takes 1–2 days. A 5,000–15,000 post agency migration takes 5–10 business days including a dry run, cutover and 14-day monitoring. Domain or cross-CMS moves add 3–7 days for DNS, TLS, CDN and template parity.

Can I migrate posts without changing URLs?

Yes, and that is the safest default. Preserve post IDs, post_name values, permalink structure, trailing slashes and attachment paths. Use 301s only for genuinely changed URLs, and keep every redirect to one hop.

What should I give a vendor before they quote?

Give post and attachment counts, custom post types, plugin list, table prefix, current and target hosts, domain status, sitemap URL count, analytics baseline, CDN details and any planned redesign. Add the last 28 days of 404 and organic landing-page data.

Need a Migration Partner?

If your 2026 move involves posts, media, a new server, a domain change or a cross-CMS rebuild, get a scoped baseline before you commit. Contact our team for a URL parity audit, a redirect specification and a cutover plan with named owners, a rollback trigger and 14-day verification.

References & further reading

Need WordPress Development?

Free proposal and quote within 24 hours — we serve clients worldwide.

QQ