SEO for developers: how to build search-friendly websites
A developer’s SEO checklist: semantic HTML, speed, crawlability, metadata, structured data, mobile layout and JavaScript rendering, with code examples.
Marketing teams write the words, but developers decide whether search engines can read them. A beautiful site that loads slowly or hides content behind JavaScript can be invisible in search. The good news: most technical SEO is just good engineering.

1. Write semantic HTML
Use elements for what they mean: nav, main, article, section, header and footer. Search engines use them to understand the page.
- One
h1per page, thenh2andh3in order, without skipping levels. - An
altattribute on every meaningful image. Usealt=""for decoration. - Real
a hreflinks for navigation, not click handlers on adiv.
2. Make it fast
Google uses page experience as a ranking signal, and visitors leave slow pages.
- Lazy-load images below the fold.
- Serve WebP or AVIF images at the right size.
- Minify and cache CSS and JavaScript.
- Avoid render-blocking scripts and load third-party tags late.
- Set
widthandheighton images to stop layout shift.
Run Lighthouse on every release and fix what it flags.
3. Help crawlers find every page
- Link related pages to each other in normal text.
- Publish a
sitemap.xmland submit it in Google Search Console. - Check that
robots.txtdoes not block pages or files you need. - Return real
404status codes for missing pages.
4. Write unique metadata
Every page needs its own title (about 60 characters or fewer) and meta description (about 155 or fewer). They are what people see in search results.
<title>How to bake a pizza | PizzaPro</title>
<meta name="description" content="Bake a crisp, cheesy pizza at home with this step-by-step guide.">
<link rel="canonical" href="https://example.com/how-to-bake-a-pizza">
Add Open Graph tags so links look right when shared. To see how a title and description will look, try our search result preview tool.
5. Add structured data
JSON-LD tells search engines what a page is: an article, a product, an event, a business. It can earn richer search results.
<script type="application/ld+json">
{"@context": "https://schema.org", "@type": "Article",
"headline": "How to build search-friendly websites",
"author": {"@type": "Person", "name": "Your Name"},
"datePublished": "2025-04-09"}
</script>
Check it with Google’s Rich Results Test.
6. Design for mobile first
Google indexes the mobile version of your site. Use a responsive layout, readable text without zooming, and tap targets big enough for a thumb.
7. Render content search engines can read
With React, Vue or Angular:
- use server-side rendering or pre-rendering (Next.js, Nuxt),
- make sure titles and meta tags change per page,
- check the rendered HTML with the URL Inspection tool in Search Console.
The quick checklist
- One
h1, headings in order - Clean URLs, such as
/about-us - Unique title and description
- Fast load on a phone
- Responsive layout
- Sitemap and robots.txt
- Canonical tags
- JSON-LD structured data
- Internal links
- No broken links
Why it matters
Technical SEO is also accessibility and performance. A site that search engines read easily is usually easier for people too. For the content side, read our guide to answer engine optimization.
Want a technical SEO check on your site? Our website development and digital marketing teams can audit it.

