To migrate from WordPress to Shopify, you export your posts and pages, bring them into Shopify with a migration app or the API, rebuild the design in a Shopify theme, and set up a 301 redirect from every old URL to its new address. The part that decides whether you keep your rankings is the last one. WordPress and Shopify structure URLs differently, so none of your old blog addresses will work unchanged.
This guide covers a WordPress site that has a blog, service pages and maybe a shop. It explains what moves and what does not, how to handle the blog, how to redirect the URLs, and the case where the right answer is to leave the blog where it is. If your shop runs on WooCommerce, products, customers and orders follow a separate path covered in my WooCommerce to Shopify guide. For the platform-agnostic version, see the Shopify migration services hub guide. Shopify facts are checked against Shopify's documentation and linked as we go.
Should you migrate from WordPress to Shopify at all?
Move if you mainly sell products and want checkout, payments, inventory and shipping handled in one system. Stay if your site is mainly content and the shop is a side feature. WordPress is built around publishing, and Shopify is built around selling, so the blog is the weaker half of Shopify and the stronger half of WordPress.
A fair test is where your revenue and your organic traffic come from. If most search traffic lands on blog posts and most revenue comes from a small catalogue, a split setup may beat a full move. I compare the two platforms on SEO in more detail in best ecommerce platform for SEO, and that decision should come before any migration work starts.
What moves in a WordPress to Shopify migration?
WordPress has a built-in exporter. Tools, then Export, produces a WXR (WordPress eXtended RSS) file containing your posts, pages, custom post types, comments, custom fields, categories, tags and users (WordPress export documentation). That file is the raw material, but Shopify does not read it directly.
Shopify's migration guide says blogs and pages can be migrated using migration apps, or through its Blog, Blog Article and Page APIs, and that a small number of pages can simply be copied and pasted (Shopify migration guide). Here is how the main WordPress content types map across.
Shopify's article object, which themes use to display posts, supports an author name, tags, an excerpt, a featured image and published date (Shopify article object). That means each of those fields has a home, but you have to map them on purpose.
How do you migrate blog posts from WordPress to Shopify?
The mechanics of a WordPress to Shopify blog migration depend on how many posts you have.
A few dozen posts can be copied across manually, which is slow but gives you a chance to tidy each one. A few hundred or more need an app or a script. Shopify's free Store Migration app focuses on products and customers, and its listing names WooCommerce, not a plain WordPress blog, among its supported sources (Store Migration app). For blog content, the usual options are a bulk tool such as Matrixify, whose site lists blog posts and redirects among its supported data types, or a custom script against Shopify's Blog Article API. Check any tool's current pricing and scope on its own site before you commit.
Whichever route you take, this is the order I would work in:
- Audit the blog. Export a list of every post with its URL, title, publish date, category, tags, author, word count and organic traffic. Posts with no traffic and no links are candidates to merge, update or retire.
- Clean the content before it moves. Strip shortcodes, page builder markup and plugin-specific HTML. Fix broken images and old internal links.
- Decide the blog structure. Shopify posts live inside a blog, and you can create more than one. Use one blog for most sites and use tags for topics, or separate blogs only if the categories are truly distinct sections.
- Import the content. Preserve publish dates, authors, tags, excerpts and featured images.
- Check the metadata. Compare the old title tag and meta description for each post against the new one. Generic importers often reset these, and a blog full of default titles loses clicks even if it keeps rankings.
- Update internal links. Old posts link to each other using WordPress URLs. Those links will redirect, but redirected internal links are slower and wasteful, so update them to the new addresses.
- Review a sample on mobile before going live.
The images need particular care. WordPress files sit in /wp-content/uploads/ and image URLs in your post bodies point there. If the importer does not re-host them in Shopify, they will break the day you close the old site. Check that images load from Shopify's CDN, and that alt text survives.
What happens to your URLs when you move to Shopify?
They change, and that is the central risk. Shopify blog posts use the pattern /blogs/{blog-handle}/{article-handle} (Shopify article object). A typical WordPress setup looks like one of these:
- yoursite.com/post-name/
- yoursite.com/blog/post-name/
- yoursite.com/2024/05/post-name/
- yoursite.com/category/topic/post-name/
On Shopify the same post becomes yoursite.com/blogs/news/post-name. You can edit the handles after /blogs/, but, as far as I can tell from Shopify's documentation and community threads, the /blogs/ segment itself is fixed. Pages move to /pages/page-name, products to /products/product-name and collections to /collections/collection-name. Even a page that looks identical on screen has a different address.
So every URL you want to keep needs a redirect. Google's site move guidance is clear about what that involves (Google: site move with URL changes). Map each old URL to a specific new destination and use permanent server-side redirects (301 or 308). Redirect straight to the final page, avoiding chains. Do not dump old blog posts onto the home page. Update canonical tags and internal links. Keep the redirects for at least a year.
How do you set up redirects in Shopify for a WordPress blog?
Shopify takes redirects in bulk by CSV, from Content, then Menus, then URL redirects, then Import (Shopify URL redirects). The file has two columns, the old path and the new path. A standard store can hold up to 100,000 redirects, which is plenty for almost every WordPress blog.
The rules that trip people up:
- A redirect only works for a URL that currently shows a 404. Because your old WordPress URLs do not exist on Shopify, that is normally fine. It becomes a problem if you reuse a path that already resolves, such as a page with the same handle.
- Fixed paths like /products and /collections cannot be redirected.
- URLs with query strings may not behave as expected, which matters for old ?p=123 style WordPress links.
- A redirect cannot strip .html from the same URL.
Build the redirect file from three sources, not one: the WordPress sitemap, your Search Console performance data and a crawl of the live site. The sitemap misses old URLs that still get traffic. Search Console shows which ones matter. Add feed URLs, tag pages, category pages, author archives and attachment pages if they have traffic or links. Anything you do not redirect should return a clean 404 or 410, not a soft redirect to the home page.
Want this done for you? Message me directly on WhatsApp with your current site address. I will tell you honestly how many URLs need mapping, whether the blog should move, and what the main ranking risks are.
How do you keep your rankings during the move?
Redirects are necessary but not enough. Rankings also depend on the content and signals around them, so preserve those too.
- Keep titles, headings and body copy substantially the same on the first move. A migration is the wrong time to rewrite a post that ranks.
- Carry over meta descriptions, image alt text and structured data. Article markup from your WordPress SEO plugin will not come with you, so check what structured data the new theme outputs.
- Rebuild your XML sitemap by submitting Shopify's, which it generates automatically, and remove the old one in Search Console.
- Keep your site speed in check. A bloated theme or a stack of apps can undo what you gained.
- Move on a quiet week. Avoid sale periods and peak seasons.
- Monitor daily after launch. Google says rankings can fluctuate while it recrawls, and for medium-sized sites it can take a few weeks or more for new URLs to appear. A short dip is normal. A steady slide that continues past a month points to missing redirects or lost content.
If you are changing domain as well, Google's Change of Address tool applies. If you are only changing platform on the same domain, it does not.
For a deeper look at the problems that tend to show up in Shopify after a move, such as duplicate product URLs, filter pages and thin collections, see my guide to Shopify SEO experts.
When should you keep the blog on WordPress?
Sometimes the better migration is a partial one. Keep the blog on WordPress if:
- The blog drives most of your organic traffic, and moving it carries more risk than reward.
- You publish often and depend on WordPress editing tools, plugins or a large content team.
- You have thousands of posts with complicated categories, custom post types or memberships.
- Your Shopify theme cannot reproduce the blog layout without custom development.
There are two ways to run both, and they carry different trade-offs.
A subfolder setup can work, and agencies use it, but treat it as custom infrastructure you will maintain. If the setup breaks, you can lose both blog and shop pages. For most small businesses, the subdomain is the lower-risk way to keep WordPress, and a full move is the simpler way to run one system.
What should you check before and after launch?
Before launch:
- Every post and page has been imported and spot-checked
- Titles, meta descriptions, authors, tags and featured images are correct
- Shortcodes and plugin markup have been removed from the content
- Inline images load from Shopify and have alt text
- The redirect CSV covers posts, pages, categories, tags and any URLs with backlinks
- Top 50 old URLs have been tested against the redirect file
- The store is password-protected so test content stays out of search
- Tracking, Search Console and analytics are set up
- Your domain is disconnected from the old host first, to avoid SSL errors
After launch:
- Import the redirects and submit the new sitemap
- Check Search Console for 404s, crawl errors and old URLs still indexed, daily for two weeks
- Compare organic traffic by landing page against the pre-launch baseline
- Fix 404s that carry traffic or links
- Keep redirects for at least a year
Do you need help with a WordPress to Shopify migration?
You can do it yourself if the site is small, has a few dozen posts, little organic traffic to protect and no WooCommerce store data. Copy the content, rebuild the pages, build a redirect file and test carefully. If you have hundreds of posts, a blog that earns real search traffic, a shop to migrate as well or a custom design to rebuild, mistakes cost more than the help does.
I work directly with site owners as a UK-based consultant. My Shopify store development service covers custom theme builds, migration, SEO setup and automation, and I scope each job after seeing the site. I do not publish prices. If you are unsure whether to move the blog, I will tell you plainly when staying on WordPress is the better choice.
Talk through your WordPress move
If you want to migrate from WordPress to Shopify without damaging your search traffic, send me your site address through the contact page or message me directly on WhatsApp. I will review the site, tell you what should move, what should stay and what the redirects need to cover, and scope the work before any commitment.