Free workshop
SEO in 90 minutes: audit your own website. Seats are limited.SEO in 90 minutes: audit your own site.
00d00h00m00s

Structured data that survives a redesign

A new theme can wipe your schema markup without any error. Here is how to list it, keep it independent of the design and check it before and after launch.
Sooraj PFull-stack developer and SEO strategist
5 min read
0 views
Structured data that survives a redesign
Old wireframe page connected through a JSON-LD code block with a shield to a redesigned page, showing structured data surviving a redesign

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.

01

How a redesign breaks markup

Structured data usually lives in the theme, a plugin or a script. A redesign can change any of them.

Common ways markup is lost
What changedWhat goes wrong
New themeThe old theme printed the markup. The new one does not
New templateA field moved or was renamed, so the markup shows empty or wrong values
Plugin swappedTwo plugins print markup, or none does
Content redesignThe markup still describes text that is no longer on the page
JavaScript rebuildMarkup 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

02

The rules your markup must still meet

Google’s general guidelines set the bar after a redesign too.2

Guidelines to keep
RuleWhat Google says
FormatJSON-LD is recommended. Microdata and RDFa are also supported2
Visible contentDo not mark up content readers cannot see. The page must describe the same items2
AccessDo not block pages with structured data from Googlebot2
Required propertiesItems missing required properties are not eligible for rich results2
SpecificityUse the most specific type and properties that apply2
03

Step 1: list what you have before you change anything

  1. 1

    Crawl the live site

    Use a crawler that extracts structured data. Export one row per URL and per type.

  2. 2

    Group by template

    You rarely have hundreds of designs. You have a handful of templates: article, product, category, location, home.

  3. 3

    Record the types and fields

    For each template, write down the schema types and which page field feeds each property.

  4. 4

    Save a sample

    Keep the real JSON-LD from one page per template as your reference.

  5. 5

    Note the owner

    Write who maintains each block: theme, plugin or custom code.

04

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.

Where markup can live
OptionStrengthRisk
Theme fileSimple to startLost when the theme changes
SEO or schema pluginSurvives a theme swapSettings may reset or conflict with a second plugin
Custom code in a small plugin or snippetIndependent of the themeNeeds a developer to maintain
Generated from a data layerAlways matches the dataNeeds more build effort
article-template.jsonld
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.

05

Step 3: test on staging

  1. 1

    Run the Rich Results Test

    Test one staging page per template. Google recommends this tool to catch most technical errors.2

  2. 2

    Compare with the reference

    Match the new JSON-LD against the sample you saved. Check types, properties and values.

  3. 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. 4

    Check that it is crawlable

    Staging must not block structured data from Googlebot when you go live.2

  5. 5

    Sign off per template

    Do not launch until each template passes.

06

Step 4: watch it after launch

Google lists the tools to use once pages are live.1

Post-launch monitoring
ToolUse it to
Rich result status reports in Search ConsoleSpot errors and drops in valid items after deployment1
URL InspectionConfirm Google found the structured data on a given page1
Performance reportCompare pages with and without structured data over time1
Your own re-crawlCompare counts per type with your pre-launch inventory
07

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.

08

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

09 · The short version

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.


Join the conversation

Say hello · I reply personally

Tell me how I can help

1 · Details2 · Done

Message received

Thanks, there. I read every message myself and will reply to your inbox within one business day.