A design change or a move to a new CMS is a critical moment in the life of a project. If semantic markup is lost, 404 errors appear or crawlers get blocked in robots.txt during a redesign, there is a high risk of losing positions and dropping out of the context window of language models the next time RAG systems recrawl the data.
If the new theme “forgot” to include the JSON-LD markup, the default robots.txt blocks the bots, or the content was moved to heavy React without Server-Side Rendering (SSR), the RAG crawler gets a blank screen and drops the site from its selection.
A safe migration procedure
- Keep the URL structure: changing landing page URLs is not acceptable without step-by-step mapping. If a URL changes, set up a direct 301 redirect in exactly one hop (no chains).
- Move the semantic entities: the whole Schema.org graph (Organization, Service, Offer) is moved to the new template before the site goes public.
- Test that clean HTML is served: before release, check that the text shows with JavaScript turned off.
Before launch: preparation
- Export all current URLs. Sources: sitemap.xml, a site audit crawler and the “Pages” report in Google Search Console. For each URL save the title, description, h1, canonical and JSON-LD. This is your reference for comparison after launch.
- Mark the pages that bring traffic and backlinks. You can see them in the performance reports of Search Console and Yandex Webmaster. It's best not to change the URLs of these pages at all.
- Build an “old URL — new URL” mapping table. Each old URL leads to the closest new page by meaning. Google usually treats a mass redirect of all old pages to the home page as a soft 404 error, and the old pages' signals are not passed on.
- Deploy the new version on a test domain and block it from indexing. A password is the most reliable way, so that search engines don't index a copy of the site.
Example of a mapping table:
| Old URL | New URL | Response code |
|---|---|---|
| /uslugi/seo-prodvizhenie.php | /services/seo/ | 301 |
| /blog/?id=154 | /blog/aeo-audit/ | 301 |
| /akcii-2023/ (removed with no replacement) | — | 410 |
Launch day: checklist
- The indexing block is removed from the new site: robots.txt has no
Disallow: /, and the templates have nonoindex. This is the most common mistake: test settings move over to the live site. - All 301 redirects from the table work, each in one hop.
- canonical tags point to the new URLs, not to the test domain.
- sitemap.xml contains only new URLs that return a 200 code.
- Googlebot, GPTBot, OAI-SearchBot and PerplexityBot are not blocked in robots.txt or in firewall rules.
- Schema.org markup passes the Rich Results Test and the schema.org validator.
It's easy to check redirects from the command line. The command shows the response code and the URL the redirect leads to:
Terminal
curl -sI https://example.ru/uslugi/seo-prodvizhenie.php | grep -iE "^(HTTP|location)"
HTTP/2 301
location: https://example.ru/services/seo/
If the response is again a 301 or 302 instead of a 200 at the final URL, that's a chain, and it needs to be cut down to one hop. More on response codes in the article on redirects and Schema.org.
After launch: the first weeks
- Check the “Pages” report in Search Console and “Pages in search” in Yandex Webmaster every day. A rise in 404 errors with no newly indexed URLs is a sign that the redirects don't work as intended.
- If you change domains, report the move: the “Change of Address” tool in Search Console and “Site move” in Yandex Webmaster.
- Don't remove the redirects. In its site move guide, Google advises keeping them for as long as possible, usually at least a year.
- Compare the answers of ChatGPT, Perplexity and Gemini before and after the move using the same list of questions. How to build such a list is covered in the article on checking mentions in AI answers.
Get a quick migration audit from Rank By Ai for $99. The full cost of the check is deducted from the first month of ongoing work if you start within 30 days.
Read next
- Redirects, response codes and Schema.org
- Server speed (TTFB) and AI crawlers
- Internal linking and semantic clusters
Frequently asked questions
Why does a site often stop being mentioned in AI answers after a redesign?
When the CMS changes, Schema.org structured data is often lost, page URLs change without direct redirects, or heavy JS frameworks are added that RAG crawlers can't parse.
How much does Rank By Ai charge to monitor a migration and check the site after an update?
The initial technical audit before or after a migration costs $99 (deducted from the first month of ongoing work if you start within 30 days).
How long should I keep 301 redirects after a move?
Google recommends keeping redirects for as long as possible, usually at least a year. During that time search engines and AI crawlers recrawl the old URLs and connect them to the new ones.