Changing your WordPress theme: an SEO checklist
A new theme goes live on a Friday afternoon. It looks great. The client is happy. By Wednesday someone notices the contact form isn’t sending, the breadcrumbs have vanished from search results, and the blog posts all have two H1s.
None of that is the theme’s fault, exactly. A WordPress theme does far more than make a site look different. It decides how headings are marked up, which schema gets printed, whether breadcrumbs exist, where tracking code lives and how heavy every page is. Switch it and all of that switches too, usually without anyone noticing until the numbers move.
The short answer: changing your WordPress theme won’t hurt your SEO by itself, because your URLs and content stay in the database. What hurts is everything the old theme was doing quietly that the new one doesn’t. So the job is to write that down before you switch, and check it again after.
Before you switch: record what the old theme does
This is the step people skip, and it’s the one that makes the rest possible. You can’t compare against something you never recorded.
Crawl the site as it is now
Run a crawl with Screaming Frog (or any crawler) and save it. You want a snapshot of titles, meta descriptions, H1s, canonical tags, status codes and word counts for every URL. After the switch you crawl again and compare the two. Differences jump out in minutes.
Note what the theme adds itself
Open a typical post, a page, a category archive and the homepage, and view the source. Look for:
- Structured data. Some themes print their own Article or Breadcrumb schema. If your SEO plugin also does, you may already have duplicates. If the theme was the only source, you’ll lose it.
- Breadcrumbs. Are they from the theme or from Yoast or Rank Math? Theme breadcrumbs disappear with the theme.
- Heading structure. Which element holds the post title? Some themes wrap the site logo in an H1 on every page.
- Tracking code. GA4, Tag Manager, Meta pixel, Search Console verification tags. If any were pasted into the theme’s settings panel or
header.php, they go when the theme goes. - Custom code in
functions.php. Redirects, image sizes, shortcodes, tweaks to excerpts. Anything a past developer added here is tied to the theme.
Check your shortcodes and widgets
Page builders and older themes often store layouts as shortcodes. Change the theme and pages can fill with raw [theme_button] text. Search the database or use a plugin to list shortcodes in use before you commit.
Get a speed baseline
Run PageSpeed Insights on three or four key templates and note LCP, INP and CLS, plus the field data if there is any. A new theme should be faster. You’d be surprised how often it isn’t. My notes on checking whether a WordPress theme is slowing you down cover what to look for.
During: switch on staging, not live
Do the whole switch on a staging copy first. Install the new theme there, set it up, and work through the checks below before anything touches the live site. If you don’t have staging yet, WordPress staging sites: how to test changes safely walks through the options.
A few things to sort out while you’re there:
- Move custom code into a plugin. Anything worth keeping from the old
functions.phpbelongs in a small site-specific plugin or a code snippets plugin, so it survives the next theme change too. - Rebuild menus and widgets. Menu locations are theme-specific. Your menus still exist, but they need assigning again. Footer links are easy to forget, and they’re internal links.
- Set image sizes. A new theme may register different thumbnail sizes. Regenerate thumbnails so featured images aren’t stretched or served at full size.
- Decide who prints schema and breadcrumbs. Ideally your SEO plugin, not the theme. One source, no duplicates.
After the switch: the SEO checklist
Once staging looks right, go live during a quiet period and run through this list straight away.
Headings and templates
Titles, meta and canonicals
URLs and links
Structured data
Tracking
Speed and layout
Forms and the boring essentials
The first four weeks
Once it’s live, watch Search Console rather than refreshing rankings. Look at the Performance report for the pages that matter, and the Page indexing report for any sudden rise in excluded URLs. A small wobble in the first week or two is normal while Google recrawls. A steady slide on a group of pages usually means something on that template changed: a heading, a block of content, internal links.
Keep a note of the switch date. GA4 has no annotations, so I keep a simple change log for every site (more on that in change logs for websites). When someone asks in two months why traffic moved, the date is right there.
FAQ
Will changing my WordPress theme hurt my rankings?
Not by itself. Your content and URLs live in the database, not the theme. Rankings drop when the switch removes something useful (schema, internal links, content in a sidebar) or makes the pages slower or harder to use.
Do I need to redirect anything after a theme change?
Usually not. You only need redirects if URLs change, which happens when a theme brought its own post types or when you restructure the site at the same time. Try not to do both at once.
Should I change theme and redesign content at the same time?
I’d avoid it. If you change the theme, the content and the structure together and traffic drops, you can’t tell which one caused it. Change the theme first, let it settle, then work on content.
Related reading
- How to check if a WordPress theme is slowing you down
- Keeping a WordPress site fast after a redesign
- Changing your Shopify theme: an SEO checklist
- WordPress staging sites: how to test changes safely
If a theme change is on your list for this year, start with the crawl. Save it today, even if the switch is months away. What does your current theme do that nobody has written down?