How to Migrate from WordPress to Slim Minima Without Losing Your SEO
Your SEO does not live in WordPress. It lives in your backlinks, content, and URLs. Move those across cleanly and your rankings come with you.

You rank well on WordPress. You want to move to Slim Minima. You are scared that the move will torch the rankings you spent years building. That fear is reasonable, but the risk is almost entirely avoidable.
Your SEO does not live inside WordPress. It lives in your backlinks, your content, and your URLs. Move those across cleanly and your rankings come with you. Break your URLs and you lose everything. This guide shows you exactly how to keep them intact.
What actually holds your rankings
Most people think their rankings are tied to WordPress. They are not. WordPress is just the software that draws the page. Google does not rank software. It ranks:
- Your backlinks. Other sites linking to your pages. This is the single biggest factor and it has nothing to do with your CMS.
- Your content. The actual words, headings, and structure on each page.
- Your domain. Its age, history, and authority.
- Your URLs. The addresses those backlinks and rankings are attached to.
None of that is WordPress-specific. Swap the CMS, keep those four things, and Google sees the same site. This is why the migration is safe when done right.
The one thing that kills a migration is changing or breaking your URLs without redirecting them. That is the whole risk. Everything below is about removing it.
The rule that matters more than any other
Match your URLs one to one. Each old URL goes to the exact new URL that replaced it. Never send everything to the homepage.
If you bulk-redirect every old page to your homepage, Google reads it as a mass of broken pages and drops the rankings you were trying to save. Each old URL must point to the single new page that took its place.
The easiest way to win this is to not change URLs at all. Where you can keep the same path, keep it. Every URL you leave unchanged is one less redirect to manage and one less chance to lose a ranking.
Step 1: Get the full list of your existing URLs
Before you touch anything, write down every URL Google currently knows about. Two ways:
- Google Search Console. Open the Pages report and export the list of indexed URLs.
- Screaming Frog. The free tier crawls up to 500 URLs, which covers most small and mid-size sites.
This list is your migration map. You are going to make sure every URL on it either still works or redirects to its new home.
Step 2: Rebuild your content and match the slugs
Rebuild your pages and posts in Slim Minima. As you do, match the slug to the old WordPress URL wherever you can.
By default, WordPress uses paths like /2024/01/my-post/ or /category/my-post/, though this can be changed in your permalink settings. Slim Minima uses flat pages at /your-slug and blog posts at /blog/your-slug. Where the structure is going to differ, that is fine. You will redirect those in the next step. The point here is simple: keep paths identical when nothing forces them to change.
Your meta titles and meta descriptions need to match your old site exactly. These do not carry over automatically during a migration, so you will need to re-enter them manually. In WordPress, editing these requires a plugin like Yoast SEO by default. In Slim Minima, it is built in. Every page and post has a field for each one in the editor:
- Meta title and meta description fields in the editor.
- A noindex toggle for pages you want to keep out of Google.
- A custom schema field for JSON-LD structured data.
Re-enter these as you rebuild. Once you fill the fields, Slim Minima outputs correct titles, descriptions, canonical tags, and schema automatically.
Step 3: Set your site URL correctly
This is the setting people get wrong, and it quietly splits your SEO in two.
Slim Minima builds your canonical tags, your sitemap, and your social URLs from one environment variable:
NEXT_PUBLIC_SITE_URL=https://www.yoursite.com
Set it in .env.local for local work and in your hosting environment for production. It has to match your live domain exactly: the same https, and the same www or non-www choice you already rank on. If Google knows you as https://www.yoursite.com, do not set it to the bare yoursite.com. A mismatch here tells Google you have two versions of every page and divides your ranking signals between them.
Once this is right, every page points to its own correct address automatically.
Step 4: Add your redirects
Slim Minima has a redirect engine built in. You do not need any external configuration or plugin. When a request comes in for a path that no longer has a page, the site checks its redirect table and sends the visitor to the new URL before showing any error.
For a migration with many URLs, use the command line. Put your old and new pairs in a CSV file and run them in one loop:
while IFS=, read -r from to; do
npm run cms -- set-redirect --from "$from" --to "$to"
done < redirects.csv
For one or two redirects, the admin screen at /admin/redirects lets you add them by hand.
These redirects are permanent, which is exactly what a migration needs. One technical note: the redirect is served as an HTTP 308 rather than the older 301 you may have read about. Google treats 308 and 301 the same way for passing ranking signals, so your link equity transfers correctly.
Step 5: Launch, then tell Google
Point your domain at the new Slim Minima site. Then, before you move on, open ten or fifteen of your old URLs in a browser and confirm each one lands on the correct new page. Not the homepage. The actual page that replaced it.
Then in Google Search Console:
- Submit your new sitemap at
https://www.yoursite.com/sitemap.xml. Slim Minima generates it automatically from your live pages and posts, and it leaves out anything you marked noindex. - Use the Change of Address tool only if your domain name itself changed. If you are keeping the same domain, skip it. That tool is for domain moves, not for CMS moves.
Step 6: Watch, and do not panic
For the next four to eight weeks, check your Coverage report and your rankings in Search Console. A small dip in the first couple of weeks is normal and expected. Google needs time to recrawl your pages and follow your redirects. As it does, your rankings settle back. This is the normal shape of a clean migration, not a sign that something broke.
What you do not have to rebuild
A lot of the technical SEO is already handled inside Slim Minima, so do not waste time recreating it:
- Sitemap is generated at
/sitemap.xmland respects your noindex settings. - robots.txt is generated at
/robots.txt, allows your public pages, and points crawlers to your sitemap. - Canonical tags are emitted on every page from your site URL setting.
- Page speed is where you gain ground. A static-rendered Slim Minima site with no plugin weight loads faster than the WordPress install you are leaving, and speed is a ranking factor in your favor.
Migration checklist
- Export every indexed URL from Search Console or Screaming Frog.
- Rebuild content in Slim Minima and keep slugs identical where you can.
- Re-enter meta titles, descriptions, and schema on each page.
- Set
NEXT_PUBLIC_SITE_URLto your exact live domain. - Add a one-to-one redirect for every URL whose path changed.
- Launch, spot-check redirects, and submit the sitemap in Search Console.
- Watch for four to eight weeks and let it settle.
Frequently asked questions
Do permanent redirects pass full SEO value to the new URL?
Yes. A permanent redirect signals to Google that the page has moved for good, and the link equity from your backlinks transfers to the new address. Slim Minima uses HTTP 308 instead of 301. Google treats both as permanent redirects and passes ranking signals through either one.
How long does it take for rankings to recover after the migration?
Most sites see their rankings settle within four to eight weeks. Google needs to recrawl each old URL, follow the redirect, and reprocess the destination page. A small dip at the start is normal. If rankings have not recovered after eight weeks, check that your site URL variable is set correctly and your sitemap has been submitted in Search Console.
Do I need to change my domain when switching from WordPress to Slim Minima?
No. You keep the same domain. Slim Minima runs on the same domain your WordPress site did. A domain change is a separate and more complex operation. This guide covers a CMS move only.
Will my WordPress page speed scores carry over?
No, and that is a good thing. A Slim Minima site serves static pages built at deploy time. There is no PHP execution, no plugin chain, and no database query at request time. Most sites score higher on PageSpeed Insights after the move, not lower. That improvement is a ranking signal in your favor.
Can I migrate a large WordPress site with hundreds of pages?
Honestly, if you are not sure, just ask your AI agent. 😊
Related reading
My verdict
The migration itself is not complicated. The only real risk is skipping the redirect step or bulk-redirecting to your homepage instead of one-to-one matches. Do those two things right and your rankings move with you.
If anything, the move gives you a speed advantage. A static Next.js site with no plugin overhead loads faster than most WordPress installs, and Google uses page speed as a ranking signal. A clean migration is not just safe - it can leave you in a better position than when you started.
