The cheapest moment to get SEO right is before a website goes live. After launch, every structural mistake becomes a migration: redirects, lost rankings, broken links in old emails and articles. Before launch, the same decision is a line in a specification. This article goes through the decisions worth making while the site is still on a staging server — whether you are building it yourself, with a builder, or with an agency.

1. Choose the platform with search in mind

Website builders, traditional CMS platforms and modern JavaScript frameworks can all produce sites that rank. The differences are in how much control you have and how much can go wrong by default. Before choosing, check that the platform lets you:

  • set a unique title, meta description and H1 for every page;
  • control URLs and create permanent (301) redirects;
  • edit robots.txt and generate an XML sitemap;
  • add canonical tags and structured data;
  • set alt text for images and control image sizes.

If any of these requires a workaround on day one, it will require more workarounds later.

2. Decide how pages are rendered

This is the most technical decision and the one with the biggest consequences. If a page is built entirely in the browser by JavaScript, the HTML that a crawler first receives may be almost empty. Search engines can render JavaScript, but rendering is delayed and resource-limited, and many other crawlers — including some used by AI assistants — read only the initial HTML.

For pages that should be found in search, prefer server-side rendering or static generation: the content, links, titles and structured data are present in the HTML from the first response. Client-side rendering is fine for account areas and interactive tools that do not need to rank.

A simple test: open the page source (not the inspector) and check that the main text and links are there.

3. Plan the URL structure

  • Use short, readable, lowercase URLs with hyphens: /services/office-cleaning.
  • Reflect the site structure, but do not nest deeper than needed.
  • Decide on trailing slashes and stick to it; the other form should redirect.
  • Avoid dates and IDs in URLs for content that will be updated.
  • For several languages, choose subfolders or subdomains early and plan hreflang.

4. One version of the site, on HTTPS

A site should answer on exactly one host: with or without www, always over HTTPS. All other combinations should redirect permanently to it. This sounds obvious, but sites regularly launch with two or four versions available, which splits signals and creates duplicates.

5. Redirects from the old site

If the new site replaces an old one, list every old URL that has traffic or links — from analytics, from the old sitemap, from a crawl of the old site — and map each one to its closest new page. Redirect with 301, one step, no chains. Redirecting everything to the home page throws away most of what the old pages earned.

6. Sitemap, robots.txt — and the staging trap

Before launch, prepare an XML sitemap listing only pages that return 200 and are meant to be indexed, and a robots.txt that references it.

The most common launch mistake is carrying over staging settings: a noindex tag on every page, a robots.txt with Disallow: /, or password protection left on. The site looks fine to visitors and is invisible to search engines. Check this on launch day and again a week later.

7. Set a performance budget

Agree on limits before design is final: page weight, number of scripts, image formats and sizes, fonts. It is far easier to keep a page fast than to make a slow one fast later. Aim for good Core Web Vitals on mobile — Largest Contentful Paint, Interaction to Next Paint and Cumulative Layout Shift — and test on a mid-range phone, not only on the designer's laptop.

In SEO Melody: Speedtest measures a page in the lab and explains the results; Speed & Compare puts your page next to a competitor's on the same measurements.

8. Structured data, analytics and accessibility

  • Structured data: add Organization or LocalBusiness markup on the home or contact page, and Product, Article or FAQ markup where it fits. Validate it before launch.
  • Analytics: install analytics and verify the site in search engines' webmaster tools before launch, so the first weeks of data are not lost.
  • Accessibility: correct heading order, alt text, readable contrast and keyboard navigation help people with disabilities and make the page easier for machines to interpret too.

9. Check before and after launch

Crawl the staging site before launch (with access allowed for your crawler) and the live site right after. Compare the two: the live site should have the same pages, without noindex, with correct canonicals and working redirects.

In SEO Melody: Site Audit crawls the site with 41 checks — status codes, redirects, indexability, canonicals, titles, descriptions, headings, links, images, structured data, hreflang, page weight and more. Two runs are compared automatically: new problems, those that remain, those fixed and those that came back. Index Coverage then lists which pages search engines can index and why the others cannot — robots.txt, noindex, a canonical pointing elsewhere, or a missing sitemap entry.

A short launch checklist

  1. Content and links present in the initial HTML of key pages.
  2. One host, HTTPS, all other versions redirect.
  3. Old URLs redirected one-to-one with 301.
  4. No staging noindex, no blocking robots.txt, sitemap submitted.
  5. Unique titles and descriptions on every indexable page.
  6. Performance checked on mobile.
  7. Analytics and webmaster tools working from day one.
  8. A post-launch crawl compared with the pre-launch one.