🎨
SEO & marketing

Keeping SEO intact during a website redesign: before and after launch

02.12.2026
← All articles

A redesign is usually seen as a visual change, but to a search engine it can look like a completely different site. If page URLs, heading structure, amount of text and internal links all change at once, Google has to relearn the site, and ranking drops are common. Most of those losses come from mistakes that planning can prevent.

Record the current state first

Before design work starts, take a full snapshot of the old site. Export the top pages and queries by clicks for the last three to six months from Search Console, and the top landing pages from Analytics. These pages bring most of the traffic and must have a clear home on the new site.

You can pull every URL from the sitemap. If the sitemap is an index of several files, fetch each one.

curl -s https://example.uz/sitemap.xml \
  | grep -oE '<loc>[^<]+</loc>' \
  | sed -E 's#</?loc>##g' > old-urls.txt
wc -l old-urls.txt

Sitemaps are not always complete, so crawl the site with a tool such as Screaming Frog and add frequently requested URLs from server logs. For each page, save the title, meta description, h1 and word count; these are what most often get lost in a new template.

Keep URLs unchanged where possible

The safest redesign keeps URLs as they are. If /services/dentistry ranks well and stays at the same address, Google only sees a refreshed page. Changing URLs to make them "prettier" adds risk with every page. If a change is genuinely needed, for example to retire index.php?page=12 style addresses, make it a deliberate decision.

When URLs change, build a redirect map: old URL on the left, best matching new URL on the right. Redirecting everything to the homepage is a mistake, because Google often treats such redirects as soft 404s. If a page has no equivalent, pick the closest section or return an honest 404.

# .htaccess: old URLs to new ones in a single hop
Redirect 301 /services.php https://example.uz/services/
RewriteEngine On
RewriteCond %{QUERY_STRING} ^page=12$
RewriteRule ^index\.php$ https://example.uz/services/dentistry/? [L,R=301]

Note that the Redirect directive ignores query strings, so parameterised old URLs need a RewriteCond %{QUERY_STRING} rule; the trailing ? stops the old parameters from being appended to the new URL.

Preserve content and page structure

Designers often push for less text and more imagery. Search engines, however, understand a page through its text. If an old service page had a detailed description, pricing notes and an FAQ, and the new one has a slogan and a button, rankings will fall. Rearrange the copy for the new layout without cutting its substance. Keep internal links visible in plain HTML rather than hidden behind scripts, and make sure structured data such as LocalBusiness or FAQPage and image alt text move to the new template.

Hide staging, then open the live site

New designs are usually built on something like test.example.uz. If that copy gets indexed, you have a duplicate site. Password protection is the most reliable block, with an X-Robots-Tag header as an extra layer.

# .htaccess for test.example.uz
AuthType Basic
AuthName "Test"
AuthUserFile /home/user/.htpasswd
Require valid-user
Header set X-Robots-Tag "noindex, nofollow"

The most damaging mistake comes next: staging restrictions are carried over to production. Disallow: / stays in robots.txt, or WordPress keeps the "discourage search engines" box ticked, and within weeks the site largely disappears from search. On launch day, check headers with curl -I https://example.uz and read robots.txt.

Example: a private clinic in Samarkand

A private clinic in Samarkand replaced its old site. The old one had a page for every doctor and service, ranking for queries like "dentist Samarkand". The designer proposed one long services page, but the audit showed most traffic landed on individual service pages, so they were kept and only restyled. A day before launch the team checked the redirect map with curl and found twelve wrong targets. After launch they submitted the new sitemap and watched 404s and key rankings daily for two weeks; traffic wobbled, then recovered within a month.

The first weeks after launch

Run the old URL list against the new site. Any 404 or 302 in the output means the map needs fixing.

while read u; do
  curl -s -o /dev/null -w "%{http_code} %{redirect_url} $u\n" "$u"
done < old-urls.txt | sort | uniq -c | sort -rn | head

Submit the new sitemap, watch the page indexing report, and keep an eye on Core Web Vitals, since heavy images and scripts in a new design can hurt them. If the site is hosted on sayt.uz, take a full backup of the old site through the hosting panel before launch so you can roll back if something goes badly wrong.

Related articles

✅ Blog SEO Checklist: What to Check Before and After Publishing a Post ⏱️ INP: Optimising JavaScript for Faster Page Responsiveness 🔎 Telegram Posts in Google: Do They Get Indexed and Do They Help SEO? 📞 The Contact Page: Address, Phone and Company Details That Build Trust
🌐 Language
🇺🇿 O⁠'zbek 🇺🇿 Özbek (yangi) 🇺🇿 Ўзбек 🇷🇺 Русский 🇬🇧 English ✓