InsightsMigrations & platforms

Migrate WordPress to Shopify (2026): Posts, Pages, Images, Comments and Redirects

How to migrate WordPress to Shopify: what the export file holds, three ways to bring in posts and pages, moving images, and Shopify's redirect limits.

A WordPress site that is mostly writing, such as a blog, a set of service pages and a media library, does not move to Shopify the way a store does. There are no products or orders to import. The work is three things: getting posts and pages out of WordPress and into Shopify’s editors, carrying the images with them, and pointing every old address at its new one. This guide covers that job in order. If your WordPress site also runs a WooCommerce store, the products, customers and orders are covered separately in our WooCommerce to Shopify migration guide.

Every limit and step below was read on 15 November 2026 in WordPress.org’s documentation, WordPress.com’s support pages, Shopify’s Help Center and developer docs, and the Shopify App Store listing and documentation for Matrixify. App prices are in US dollars as the listing shows them.

Key takeaways

  • WordPress exports one XML file, called a WXR file. It holds posts, pages, comments, custom fields, categories, tags and users. It holds links to your images, and the image files stay on the old server.
  • Shopify’s Help Center lists no importer for that file. It names three routes for posts and pages: copy and paste, a migration app, or Shopify’s blog and page APIs.
  • On Shopify a post lives at /blogs/, then the blog’s handle, then the post’s handle. A page lives at /pages/ and its handle. WordPress category and tag archives become tag filters on a Shopify blog.
  • Each old address needs a redirect. A standard Shopify store holds 100,000 of them and a Plus store holds 20,000,000. A redirect only works once the old address returns a “page not found” error on Shopify.
  • Shopify’s redirect tool refuses addresses that begin with /services, /shop, /cart, /orders and a few others. Many WordPress sites use /services/ and /shop/, so check your list for them before launch.
  • Shopify only lets the store owner or a staff account be named as a post’s author. Past guest writers need a staff account, or their posts go under another name.

What moves from WordPress to Shopify, and how

ContentIn the WordPress export file?Where it goes on ShopifyHow it gets there
PostsYesBlog posts, inside a blogPaste, migration app or API
PagesYesOnline Store › PagesPaste, migration app or API
Images and other mediaLinks onlyContent › FilesDownload from WordPress, upload to Shopify, update each link
Categories and tagsYesTags on each post, or a separate blog for a whole sectionSet per post, or mapped by the app
CommentsYesComments on the postA migration app with a comments sheet
AuthorsYes, as usersThe post’s Author fieldAdd each writer as staff, or pick an existing staff name
Navigation menusYes, with “All content”Content › MenusRebuilt by hand
Search titles and descriptionsDepends on the SEO pluginThe search engine listing on each post and pageCopied per address, or mapped by the app
Forms, shortcodes and plugin featuresNoA theme section or a Shopify appRebuilt
Theme and designNoA Shopify themeRebuilt

Step 1: List what the WordPress site holds

Start with the addresses, because they decide the redirect work later. WordPress builds post addresses from the permalink setting under Settings › Permalinks, and it offers six choices.

  • Plain. The address is the site followed by ?p= and the post’s ID number. This is the setting a fresh install starts with.
  • Day and name. Year, month and day, then the post name.
  • Month and name. Year and month, then the post name.
  • Numeric. The post’s ID number.
  • Post name. The post name alone.
  • Custom structure. Any pattern built from tags such as %year%, %category% and %postname%.

Category and tag archives sit under a base word. The defaults are “category” and “tag”, so an archive looks like /category/guides/ or /tag/linen/. A site that changed its permalink setting at some point can have posts indexed under more than one pattern, so read the real addresses from your sitemap and from Search Console’s page report, and do not assume one shape.

Count four things: published posts, published pages, images in the media library, and posts with comments. Those four numbers decide which route in Step 3 is practical.

Step 2: Export from WordPress

In the WordPress dashboard, open Tools › Export, choose “All content” and click Download Export File. WordPress saves an XML file in its WXR format. The WordPress.org documentation says the file contains posts, pages, custom post types, comments, custom fields, categories, tags, custom taxonomies and users, and that “All content” also carries navigation menus. Posts can be exported alone and filtered by category, author, date range or status.

On WordPress.com the same screen exists, and its support page adds three details. The export usually takes one to two minutes. A site with more than roughly 1,000 posts or pages gets the export by email as a zip of several XML files. And the file holds links to the media, never the media itself.

So the images are a second export. On a WordPress.com site without plugins, Tools › Export has an “Export Media Files” option that downloads a .tar archive, sorted into folders by year and month. A WordPress.com site with plugins uses a plugin or a Jetpack backup, where the media is the uploads folder inside wp-content. A self-hosted site keeps its media in that same folder, which your host’s file manager or backup can download.

Keep the WordPress site online until the move is finished. The export file points at images on the old server, and any tool that copies them needs that server to answer.

Step 3: Choose how the content enters Shopify

Shopify’s migration guide lists blogs and pages as content you bring across by copy and paste, by a migration app, or through its APIs. Each suits a different size of site.

RouteSuitsWhat you doCost
Copy and pasteA few pages and a short blogCreate each page or post in Shopify, paste the text, re-add the imagesYour time
Migration appDozens to hundreds of postsExport a file from WordPress, let the app convert it, review, importMatrixify: free for 10 items per file; $20 or $50 a month above that
Shopify’s Admin APILarge sites with a developerA script reads the WordPress export and creates each article and pageDevelopment time

Copy and paste. Shopify’s guide says individual pages can likely be copied and pasted into the new store. The page and post editors accept text, links, tables, images and embedded video, and the page editor has a code view for the HTML.

A migration app. Shopify’s own WooCommerce guide names Matrixify for WordPress posts and pages. Matrixify’s tutorial does not use the WXR file. It asks for a CSV made with the free All Export plugin, with the words “WordPress” and “Posts” or “Pages” in the file name. You upload it with the Dry Run option, and the app returns an images folder and an Excel file with a Blog Posts sheet and a Redirects sheet. You upload the images to Shopify’s Files without renaming them, check the sheets, and import the Excel file. The tutorial says the image links inside each post are rewritten to the Shopify copies and that redirects are created from the old WordPress addresses.

Matrixify’s App Store listing prices the plans by items per file. The free plan is capped at 10 blog posts and 10 pages in one file. Basic costs $20 monthly and raises that to 50 of each, with 10,000 redirects. Big costs $50 monthly and raises it to 500 of each, with 100,000 redirects. Enterprise has no limits. A blog with 180 posts therefore needs four files on Basic or one file on Big. For the other apps, see the best Shopify migration tools we have compared.

The Admin API. Shopify’s GraphQL Admin API has an articleCreate mutation, documented for API version 2026-10. It takes the blog, the title, the body, a summary, the author’s name, a handle, tags, a publish date and an image given as a URL, and it needs the write_content or write_online_store_pages access scope. A developer can read the WXR file and create every post with its original handle and date.

Step 4: Rebuild posts and pages in Shopify

A new Shopify store has one blog, named News. You can rename it and add more under Content › Blog posts › Manage blogs. The blog’s handle becomes part of every post address, so settle the blog names before you import anything.

Each post has these fields in Shopify, and each one has a WordPress counterpart.

  • Title. Up to 255 characters.
  • Content. Formatted text, tables, links, images and embedded media.
  • Excerpt. Shown on the blog’s listing page. Without one, Shopify shows the start of the post with no images or formatting.
  • Featured image. One per post.
  • Tags. Up to 255 characters each. Readers can click a tag to see the related posts.
  • Author. Chosen from the owner and the staff accounts allowed to edit blog posts.
  • Visibility. Visible now, hidden, or visible from a date and time you set.
  • Search engine listing. A page title, a meta description and the URL handle.

Shopify’s post editor has a Tags field and no category field. A WordPress category can become a tag, and Shopify shows the posts for one tag at the blog’s address followed by /tagged/ and the tag. A category that works as a whole section of the site, with its own readers, can become its own blog.

Keep each post’s WordPress slug as its Shopify URL handle. The redirect then only has to change the folder in front of it. Copy the search title and description you wrote in your SEO plugin into the search engine listing. Matrixify’s tutorial lists the Yoast SEO title and meta description as optional export fields for this.

Pages are created under Online Store › Pages with a title, content, visibility and the same search engine listing. A page is visible as soon as it is saved unless you set it to hidden.

Step 5: Move the images

Images go to Content › Files in the Shopify admin. Shopify accepts JPEG, PNG, WEBP, HEIC and GIF images up to 20 MB and 25 megapixels each, and a desktop upload takes up to 200 files at a time. Video files can be MOV, MP4 or WEBM, up to 1 GB and 10 minutes; longer video is embedded from YouTube or Vimeo. Total file storage is 100 GB on Basic, 300 GB on Grow and 500 GB on Advanced.

After the upload, every image inside a post has to point at the Shopify copy. A post pasted from WordPress still shows images from the old server, and those images vanish on the day that server is switched off. Each file’s link is copied from the Files page. Add alt text there too; Shopify stores it with the file.

One caution from Shopify’s Files documentation: changing a file’s URL handle changes its address, and the old address stops working. Name the files once, before the posts link to them.

Step 6: Comments, authors, menus and forms

Comments. A Shopify blog has three comment settings: disabled, allowed after moderation, or published automatically. Comments are off on a new blog. Shopify checks every comment for spam, and replies to a comment are not built in. The Help Center describes moderating comments and says nothing about importing them. Matrixify’s Blog Posts sheet does list comment columns for author, body, email, status and date, but its WordPress tutorial does not mention comments, so confirm with the app’s support before you promise readers their old comments.

Authors. The WordPress export carries users, and Shopify’s Author field only offers the owner and staff with the right permission. Each author therefore needs a staff account, so a site with many past contributors usually assigns their posts to one staff name and keeps the original byline in the text.

Menus. Menus are rebuilt under Content › Menus. A Shopify menu can nest two levels below the top item, three levels in all, if the theme displays them.

Forms and shortcodes. A WordPress shortcode is a one-line code in square brackets that stands in for an embedded file or a more complex object. Shopify does not run WordPress plugins, so each one has to be replaced with real content or a Shopify feature. Matrixify’s tutorial says it converts bracket codes to HTML. For forms, Shopify’s own Forms app is free and builds inline and pop-up forms that save each submission as a customer profile.

Step 7: Redirect each WordPress address

Shopify’s folders are fixed, so every WordPress address changes shape.

WordPress addressShopify address
/how-to-season-cast-iron/ (Post name)/blogs/journal/how-to-season-cast-iron
/2025/03/how-to-season-cast-iron/ (Month and name)/blogs/journal/how-to-season-cast-iron
/2025/03/14/how-to-season-cast-iron/ (Day and name)/blogs/journal/how-to-season-cast-iron
/about/ (a page)/pages/about
/category/guides//blogs/journal/tagged/guides
/tag/linen//blogs/journal/tagged/linen

Redirects are created one at a time under Content › Menus › View URL Redirects, or uploaded together as a CSV file through the Import button on that screen. They start working at once. Four limits in Shopify’s documentation matter for a WordPress site.

  • The old address must be dead. Shopify applies a redirect only to an address that returns a 404. If a Shopify page already answers at that address, the redirect is ignored.
  • Some folders cannot be redirected. Shopify refuses redirects from addresses that begin with /apps, /application, /cart, /carts, /orders, /services or /shop. A WordPress site with pages under /services/ or /shop/ cannot forward them with this tool, so list those addresses early and update the links you control.
  • Query strings are unreliable. Shopify says addresses with query strings might not redirect as expected. That covers WordPress’s Plain permalinks, which are all query strings.
  • The ceiling is 100,000. Plus stores get 20,000,000.

Shopify’s migration guide says to set the redirects up before the domain moves. For a large site, our Shopify migration services include crawling the old site, writing the address map and checking every row before the switch.

Step 8: Point the domain and tell Google

To connect a domain you bought elsewhere, Shopify asks for three DNS records at the domain provider.

  • A record, host @: 23.227.38.65
  • AAAA record, host @: 2620:0127:f00f:5::
  • CNAME record, host www: shops.myshopify.com

Remove every other A and AAAA record on that domain first. Shopify says the domain can take up to 48 hours to be fully live.

Shopify generates a sitemap for every store at /sitemap.xml, listing products, collections, pages and blog posts. Verify the domain in Google Search Console and submit that file under Sitemaps. Google cannot read the store while it is in private mode. Shopify’s guide says indexing a newly launched site can take from a few days to a few weeks.

WordPress to Shopify migration checklist

  1. Record the permalink setting and collect every indexed address.
  2. Count posts, pages, images and posts with comments.
  3. Export “All content” from Tools › Export and download the media.
  4. Pick the route: paste, app or API.
  5. Name the Shopify blogs, then create posts and pages with their old slugs as handles.
  6. Upload the images to Files and repoint every image link.
  7. Copy search titles and descriptions into each search engine listing.
  8. Rebuild menus, forms and anything a shortcode produced.
  9. Import the redirect file and test a sample of old addresses.
  10. Change the DNS records, then submit sitemap.xml in Search Console.
  11. Keep the WordPress hosting for a few weeks after launch as a reference copy.

When to keep WordPress and sell through Shopify

Moving is the right call when the site is turning into a store and the blog is there to support it. It is the wrong call when publishing is the business: Shopify’s blog has no category field, a single featured image per post, and authors limited to staff. A site like that can stay on WordPress and sell with Shopify Buy Buttons placed in its pages. Our Shopify vs WordPress comparison sets out both options with the costs, and our guide to Shopify migration cost covers what a full move is priced at.

FAQ

Can Shopify import a WordPress export file?

No importer for it is listed in Shopify’s Help Center. WordPress exports a WXR file in XML, and Shopify’s migration guide gives three routes for posts and pages: copy and paste, a migration app such as Matrixify, or the blog and page APIs. Matrixify’s tutorial uses a CSV from the All Export plugin instead of the WXR file.

Do WordPress images move to Shopify automatically?

No. The WordPress export file contains links to the images, and the files stay on the old server. Download the media library, upload the files to Content › Files in Shopify, and update the image links in each post. Shopify accepts images up to 20 MB and 25 megapixels, 200 files per desktop upload.

What happens to WordPress categories and tags on Shopify?

Shopify posts have tags and no category field. A WordPress tag stays a tag, and a category usually becomes a tag as well. Shopify lists the posts for one tag at the blog’s address followed by /tagged/ and the tag, so /category/guides/ can redirect there. A large category can become a separate blog.

Do WordPress comments transfer to Shopify?

Not through any tool in Shopify’s Help Center, which covers moderating comments and not importing them. Matrixify’s Blog Posts sheet has comment columns, though its WordPress tutorial does not mention comments. Ask the app’s support before relying on it. Shopify blogs have comments switched off until you turn them on.

Will I lose Google rankings when I migrate WordPress to Shopify?

Every address changes, so rankings depend on the redirects. Load a redirect for each old address before the domain changes, reuse the WordPress slugs as Shopify handles, copy the search titles and descriptions, and submit sitemap.xml in Search Console. Addresses under /services or /shop cannot be redirected by Shopify, and query-string addresses may not redirect.

Sources: WordPress.org documentation on the Tools Export screen, permalinks and the Shortcode block; WordPress.com support on exporting content and exporting the media library; the Shopify Help Center on migration considerations, WordPress posts and pages, URL redirects, blogs, blog posts, comments, pages, file uploads, menus, connecting a domain and the sitemap; Shopify’s developer docs for articleCreate, the article object and the blog template; and the App Store listings for Matrixify and Shopify Forms, with Matrixify’s WordPress tutorial and Blog Posts documentation. All were read on 15 November 2026.

In this guide