Skip to content

Do you want your business to be found on Google, ChatGPT, Perplexity and Gemini?

Let's talk
Rizwan Strategy
Web Development

Migrate from WordPress to Shopify: Blog Posts, URLs, Redirects and Keeping Your Rankings

How to migrate from WordPress to Shopify without losing search traffic: moving blog posts, authors, images and categories, handling the /blogs/ URL change, redirects, and when to keep the blog on WordPress.

Muhammad Rizwan Iqbal12 min read

Quick answer

To migrate from WordPress to Shopify, export your posts and pages, import them with an app or API, rebuild the design in a Shopify theme, and 301-redirect every old URL to its new /blogs/ or page address. Keep titles, meta descriptions and images intact. If the blog drives most of your traffic, consider leaving it on WordPress.

Services that help with this

Shopify Store Development
A fully branded store, built from scratch.

Shopify Store Development

Custom Shopify store development services from the ground up: theme coding, fully branded design, product and checkout setup, Shopify SEO built into the theme, and the automation that keeps orders, stock and customers running without manual work.

  • Shopify Development Services
  • Custom Shopify Theme Development
  • Liquid & Online Store 2.0
  • Brand-Led Store Design
Rank where your customers are searching.

SEO

Technical SEO, on-page work and link building run directly by one specialist, with the work continuing well past the first audit.

  • Technical SEO
  • SEO Consulting Services
  • Local SEO
  • On-page SEO

Key facts

  • WordPress's export tool creates an XML (WXR) file containing posts, pages, custom post types, comments, custom fields, categories, tags and users.
  • Shopify's migration guide says blogs and pages can be migrated using migration apps or the Blog, Blog Article and Page APIs.
  • Shopify blog posts use the URL pattern /blogs/{blog-handle}/{article-handle}, so WordPress post URLs always change.
  • Shopify redirects only work for URLs that currently return a 404, and a standard store can hold up to 100,000 redirects.
  • Google recommends keeping redirects after a site move for at least one year and says rankings can fluctuate while it recrawls.
  • Shopify's article object supports author, tags, an excerpt and a featured image, so those fields have somewhere to land.

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.

WordPress Shopify Notes
Posts Blog articles Moved by app or API
Pages Pages Page builder layouts do not carry over
Authors Article author field A name string, not a user account
Categories Separate blogs or tags Shopify has no nested categories
Tags Article tags Maps cleanly
Featured images Article featured image Re-uploaded and renamed if needed
In-post images Inline images URLs inside the content must be updated
Comments Article comments Needs an app or API work, often dropped
Yoast or Rank Math titles and descriptions Page and article SEO fields Must be exported and re-imported deliberately
Plugins and shortcodes Nothing Shortcodes leave broken text in content
Theme New Shopify theme Rebuilt, not converted

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:

  1. 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.
  2. Clean the content before it moves. Strip shortcodes, page builder markup and plugin-specific HTML. Fix broken images and old internal links.
  3. 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.
  4. Import the content. Preserve publish dates, authors, tags, excerpts and featured images.
  5. 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.
  6. 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.
  7. 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.

Setup How it works Trade-offs
Subdomain (blog.yoursite.com) WordPress stays on its own host, Shopify runs the main domain Simple, safe and fully supported. Search engines can treat subdomains as somewhat separate from the main site, so the blog contributes less directly to the shop's authority
Subfolder (yoursite.com/blog/) A proxy or CDN routes /blog/ to WordPress and everything else to Shopify Keeps the blog under one domain, but needs extra infrastructure. Shopify community staff have described subpath proxying on standard stores as not supported, and I found no official Shopify guidance endorsing it
Fully on Shopify Blog moves to /blogs/news/ One platform and one login, with the URL change and a lighter blogging toolset

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.

FAQ

Frequently asked questions

Can I migrate from WordPress to Shopify?

Yes. Pages and blog posts can move to Shopify using a migration app, Shopify's Blog and Article APIs, or manual copying for small sites. WordPress also exports posts, pages, comments, categories, tags and users to an XML file. The theme, plugins and URL structure cannot be carried across, so those are rebuilt and redirected.

How do I migrate blog posts from WordPress to Shopify?

Export your content from Tools, then Export in WordPress, then bring it into Shopify through a migration app or the Article API. Check titles, authors, tags, featured images, publish dates and meta descriptions afterwards. Then map each old post URL to its new /blogs/ address and add 301 redirects before you switch the domain.

Will moving my WordPress blog to Shopify hurt my SEO?

It can, if URLs change without redirects or titles and meta descriptions get lost. Google says rankings can fluctuate during a move and new URLs can take a few weeks or more to appear. With complete 301 redirects and preserved metadata, most blogs recover. Without them, expect real losses.

What happens to my WordPress blog URLs on Shopify?

They change. Shopify blog posts live at /blogs/blog-handle/post-handle, and the /blogs/ segment cannot be removed. A WordPress post at /my-post/ or /2024/05/my-post/ will need a 301 redirect to its new address. Shopify only lets you redirect URLs that currently return a 404, so redirect before launch checks matter.

Should I keep my blog on WordPress and the shop on Shopify?

Often yes, if you publish a lot, rely on WordPress plugins or have a blog that drives most of your traffic. Running the blog on a subdomain is simple and safe. A subfolder needs proxy or CDN routing that Shopify does not officially document, so weigh the SEO benefit against the setup risk.

Do WordPress categories and comments move to Shopify?

Not neatly. Shopify blog posts use tags and separate blogs, not nested categories, so you decide how to map them. Shopify themes can display comments if they are enabled, but moving old comments needs an app or API work. Many sites drop old comments and keep the posts.

How much does it cost to migrate from WordPress to Shopify?

It depends on how many pages and posts you have, whether WooCommerce store data is involved, how custom the design is and how many redirects are needed. I do not publish fixed prices and I quote after looking at the site. Be cautious of anyone who quotes before seeing it.

Related reading

More on this topic

All 163 articles →
Web Development13 min read

Shopify Migration Services: What Moves, What Doesn't and How to Switch Without Losing Rankings

A plain guide to migrating any platform to Shopify: what transfers, what has to be rebuilt, the step-by-step process, SEO-safe redirects, a launch checklist, DIY versus hiring help, and what drives the timeline.

Muhammad Rizwan Iqbal
Web Development13 min read

WooCommerce to Shopify Migration: What Moves, What Breaks and How to Do It Safely

A WooCommerce to Shopify migration is mostly data mapping: variations to variants, passwords that cannot move, order history, subscriptions, plugins and old URLs. Here is how to plan it.

Muhammad Rizwan Iqbal
Web Development13 min read

Magento to Shopify Migration: Plus or Standard, What Maps and What Breaks

Moving from Magento or Adobe Commerce to Shopify means remapping configurable products, store views, B2B rules and extensions. Here is when Plus fits, what breaks and how to protect SEO.

Muhammad Rizwan Iqbal
SEO13 min read

Shopify SEO Expert: What One Fixes, What to Expect and How to Hire the Right One

A Shopify SEO expert fixes the platform-specific problems that hold stores back: duplicate product URLs, filter pages, thin collections, schema, app bloat, markets and migration redirects. Here is what that involves and how to vet one.

Muhammad Rizwan Iqbal
Web Development11 min read

Best Ecommerce Platform for SEO: Shopify vs WooCommerce, BigCommerce and Adobe Commerce Compared

There is no single best ecommerce platform for SEO. Compare Shopify, WooCommerce, BigCommerce, Adobe Commerce, Wix and Squarespace on URL control, speed, schema, faceted navigation and upkeep, then choose by business type.

Muhammad Rizwan Iqbal
Web Development25 min read

WordPress Web Design Agency: What You Get, What It Costs & How to Choose the Right Partner

Considering a WordPress web design agency? What professional WordPress development includes, what drives the cost, how agencies compare with freelancers, and what to check before you hire.

Muhammad Rizwan Iqbal

Have a decision to make? Let's talk it through.

A short message is enough to know if there's a fit — and if there isn't, I'll tell you directly.