Redesigns change templates. Templates carry your structured data. So a new theme can remove markup, break it or make it disagree with the page, and nothing on screen looks wrong. This guide shows a safe process: list what you have, keep markup separate from the visual theme, test on staging and watch Search Console after launch. It uses Google’s own structured data documents.
How a redesign breaks markup
Structured data usually lives in the theme, a plugin or a script. A redesign can change any of them.
| What changed | What goes wrong |
|---|---|
| New theme | The old theme printed the markup. The new one does not |
| New template | A field moved or was renamed, so the markup shows empty or wrong values |
| Plugin swapped | Two plugins print markup, or none does |
| Content redesign | The markup still describes text that is no longer on the page |
| JavaScript rebuild | Markup is added after load and may not be served the same way |
Google warns that templating or serving issues can break markup after deployment, and recommends rich result status reports to monitor pages.1
The rules your markup must still meet
Google’s general guidelines set the bar after a redesign too.2
| Rule | What Google says |
|---|---|
| Format | JSON-LD is recommended. Microdata and RDFa are also supported2 |
| Visible content | Do not mark up content readers cannot see. The page must describe the same items2 |
| Access | Do not block pages with structured data from Googlebot2 |
| Required properties | Items missing required properties are not eligible for rich results2 |
| Specificity | Use the most specific type and properties that apply2 |
Step 1: list what you have before you change anything
- 1
Crawl the live site
Use a crawler that extracts structured data. Export one row per URL and per type.
- 2
Group by template
You rarely have hundreds of designs. You have a handful of templates: article, product, category, location, home.
- 3
Record the types and fields
For each template, write down the schema types and which page field feeds each property.
- 4
Save a sample
Keep the real JSON-LD from one page per template as your reference.
- 5
Note the owner
Write who maintains each block: theme, plugin or custom code.
Step 2: keep markup separate from the look
The safest markup comes from your data, not from your design. If the page template changes, the markup should not need to.
| Option | Strength | Risk |
|---|---|---|
| Theme file | Simple to start | Lost when the theme changes |
| SEO or schema plugin | Survives a theme swap | Settings may reset or conflict with a second plugin |
| Custom code in a small plugin or snippet | Independent of the theme | Needs a developer to maintain |
| Generated from a data layer | Always matches the data | Needs more build effort |
1{2 "@context": "https://schema.org",3 "@type": "Article",4 "headline": "{{ post.title }}",5 "datePublished": "{{ post.published_iso }}",6 "dateModified": "{{ post.modified_iso }}",7 "author": {8 "@type": "Person",9 "name": "{{ author.name }}",10 "url": "{{ author.page_url }}"11 },12 "image": "{{ post.featured_image_url }}"13}If two plugins or a plugin and the theme both print the same type, you can end up with duplicates. Decide on one source for each type.
Step 3: test on staging
- 1
Run the Rich Results Test
Test one staging page per template. Google recommends this tool to catch most technical errors.2
- 2
Compare with the reference
Match the new JSON-LD against the sample you saved. Check types, properties and values.
- 3
Check the visible match
Read each value in the markup and find it on the page. A price, a date or an author name must really be there.
- 4
Check that it is crawlable
Staging must not block structured data from Googlebot when you go live.2
- 5
Sign off per template
Do not launch until each template passes.
Step 4: watch it after launch
Google lists the tools to use once pages are live.1
| Tool | Use it to |
|---|---|
| Rich result status reports in Search Console | Spot errors and drops in valid items after deployment1 |
| URL Inspection | Confirm Google found the structured data on a given page1 |
| Performance report | Compare pages with and without structured data over time1 |
| Your own re-crawl | Compare counts per type with your pre-launch inventory |
How I handle it
I treat markup as part of the content model, not as decoration. If a field is in the markup, it must also be a field in the editor.
I also keep one markup source per type. Two sources mean two bugs.
Common mistakes
Never recording the markup before the redesign.
Assuming the new theme prints the same schema.
Leaving two plugins printing the same type.
Hard-coding values that no longer match the page.
Checking only the home page after launch.
Quick questions
Which format should I use?
Google recommends JSON-LD. Microdata and RDFa also work.2
Will valid markup always give me a rich result?
No. Google says valid markup does not guarantee rich results.2
Can a markup problem cause a penalty?
A structured data issue can trigger a manual action. Google says the page then loses eligibility for rich results, and web ranking is not affected.2
Does markup built with JavaScript work?
Google lists JSON-LD as recommended and easy to maintain, and says it works with dynamically injected content. Still test it with the URL Inspection tool.1
Key takeaways
A redesign can remove or break markup with no visible sign.
Take a markup inventory by template before you change anything.
Feed markup from content fields and keep one source per type.
Test each template on staging with the Rich Results Test.
Watch the rich result status reports after launch and compare with your baseline.

