Website building

Websites built for search from day one.

Most SEO problems I've fixed were built in on day one: URLs nobody planned, content that only appears after JavaScript runs, templates with no room for a proper title. Getting them right before launch costs far less than fixing them after. I set up SEO from scratch for a newly launched marketplace at Tata CLiQ, and I built this site myself.

See the Tata CLiQ work →

A new website is the one moment when every SEO decision is cheap. Change a URL pattern before launch and it's a line in a config file. Change it after launch and it's a migration, with redirects, risk and months of waiting.

What a site ready for Google and AI search looks like at launch

It's a site that Google and AI tools like ChatGPT, Gemini and Perplexity can reach, read and understand the moment it goes live, without a clean-up project afterwards. In practice that comes down to a handful of decisions made before the first template is built: how the site is organized, what the URLs look like, how pages are rendered, how fast they load, and what machine-readable signals they carry.

At Tata CLiQ, a newly launched marketplace, I set up that foundation from scratch: architecture, category pages, XML sitemaps, robots.txt, canonical tags and schema. Organic traffic grew from zero to about 700,000 visits a month in under two years. Foundations like that hold only when the SEO requirements sit in the platform spec agreed with Product and Tech, not in a document nobody opens after launch.

Architecture and URL design

Start with how people search, not with the org chart. List the topics, products or services people actually look for, group them, and let that become the menu and the folder structure. Every important page should be reachable in a few clicks from the home page.

For URLs, I keep a few rules:

  • Short, readable, lowercase words separated by hyphens: /expertise/technical-seo/, not /page?id=4821.
  • One URL per page. Decide on trailing slashes, www or not, and HTTPS, then redirect everything else to that version.
  • No dates or internal IDs in URLs that might change. A URL should be able to live for ten years.
  • Filters and sort orders on parameters, so they can be kept out of the index. On large catalogs this needs its own rules, which I cover under programmatic and e-commerce SEO.

Rendering: static, server-side or client-side

Rendering is how a page's HTML gets built. With static or server-side rendering (SSR), the server sends a complete page: text, links and all. With client-side rendering, the server sends a near-empty shell and JavaScript fills it in the browser.

Google can run JavaScript, but it can be slower to index and things go wrong more often. Many AI crawlers don't run JavaScript at all, so content that only appears after scripts run may be invisible to them. At Disney+ Hotstar I fixed JavaScript rendering and large-scale indexing problems across more than 100,000 titles; that kind of fix is much harder on a live site than choosing the right setup at the start.

My rule The main content, headings, internal links, title, canonical tag and schema should all be in the HTML the server sends. JavaScript can add interaction on top. Frameworks like Next.js, Nuxt or Astro make this straightforward if it's set up from the beginning.

Speed, schema and the technical basics

These are cheap to build in and tedious to retrofit:

  • Speed. Aim for Google's "good" Core Web Vitals: main content visible within 2.5 seconds, responses to taps within 200 milliseconds, no layout jumping. Compressed images with set dimensions, little third-party script, and fonts that don't block the page.
  • Schema. Structured data (code that labels what a page is) generated by each template: Organization and WebSite site-wide, BreadcrumbList on inner pages, and Article, Product, FAQPage or LocalBusiness where they fit. My schema markup generator produces starter code for the common types.
  • Sitemaps and robots.txt. An XML sitemap generated automatically from the pages you want indexed, and a robots.txt that blocks nothing important. Decide deliberately which AI crawlers you allow.
  • Canonicals. A canonical tag (a line of code naming the main version of a page) on every page, pointing to itself unless there's a reason not to.
  • Titles and descriptions. Templates with a field for each, so nobody ends up with fifty pages titled "Home". What goes in those fields is on-page SEO.

The technical SEO audits page covers how I check all of this on an existing site.

Internal linking and analytics

Internal links tell search engines which pages matter. Build them into templates: breadcrumbs, related pages, hub pages that link down to every child. A page with no internal links pointing at it (an orphan page) may never be found.

Analytics and Search Console should be live on launch day, not a week later, so you have a baseline. GA4, Google Tag Manager and a verified Search Console property, with the sitemap submitted, are my minimum.

The launch checklist I use

CheckWhat "done" looks like
IndexingNo leftover noindex or staging password on live pages; robots.txt allows the site
RenderingSearch Console URL Inspection shows the full content and links
URLsOne version per page; all other variants redirect with a 301
TagsEvery page has a unique title, description and self-referencing canonical
SchemaValid in Google's Rich Results Test or the Schema Markup Validator, and matches visible content
SitemapLists only live, indexable pages; submitted in Search Console
LinksNo broken internal links; no orphan pages
SpeedKey templates test fast on mobile in PageSpeed Insights (real-user Core Web Vitals data only builds up after launch)
TrackingAnalytics and Search Console recording from day one

If the new site replaces an old one, the old URLs need a redirect plan as well. That's a migration, with its own risks, covered under site migrations.

How I build fast with Claude Code

I built this site myself: plain HTML pages, a small Python build script, schema on every page, an automatic XML sitemap and a broken-link check that runs on each build. No heavy framework, nothing for a crawler to trip over. I wrote it with Claude Code, which lets me describe a template or a check in plain English and get working code I can review.

I'm building SerpKeeper the same way, a product that checks sites against Google's spam policies. Writing tools that parse pages the way a crawler does keeps my own understanding honest, and it feeds the AI automation work I do on SEO workflows.

Claude Code speeds up the building. It doesn't replace the decisions: which pages should exist, how they link, what each one is for. Those still come first.

FAQ

Questions people ask about building a website for search

When should SEO be involved in building a new website?

Before the first template is designed. Site structure, URL patterns and rendering are the decisions that are cheapest to get right early and most expensive to change later. Bringing SEO in after launch usually means redirects, rework and a slow recovery in Google, all for choices that could have cost nothing at the planning stage.

Is a JavaScript framework bad for SEO?

No, as long as the important content is in the HTML the server sends. React, Vue and similar frameworks are fine with server-side rendering or static generation. The risk comes from pages that are empty until JavaScript runs in the browser. Google may index them late, and many AI crawlers don't run JavaScript at all.

Which schema should a new website have?

Organization and WebSite on the home page, BreadcrumbList on inner pages, and a type that fits each template: Article for guides, Product for product pages, LocalBusiness for physical locations, FAQPage where there are real questions and answers. Generate it from the template so it stays in sync with what the page actually shows.

Should I block AI crawlers in robots.txt?

It depends on what you want. Blocking crawlers used for AI search, like OAI-SearchBot or PerplexityBot, can keep you out of those answers. Crawlers used for model training can be treated separately. Decide per crawler on purpose, instead of copying a robots.txt from elsewhere that blocks things you didn't intend to.

What's the most common SEO mistake at launch?

A leftover noindex tag or password from the staging site, which keeps the whole new site out of Google. Close behind are missing redirects from old URLs, sitemaps that list staging or broken pages, and every page sharing the same title. A short launch checklist catches all of them in under an hour.

Working on a hard search problem?

I enjoy a tough SEO or GEO challenge, so tell me about yours. I'm also happy to speak at events and join podcasts.

Say hello →