SEO isn't just for marketers—developers control many factors that determine search rankings. Understanding technical SEO helps you build sites that rank well from the start.
Why Developers Should Care#
- Performance affects rankings directly
- Technical issues block crawling
- Proper markup enables rich results
- Good architecture aids discoverability
- Mistakes are expensive to fix later
Essential Meta Tags#
Basic Tags#
Open Graph (Social Sharing)#
Twitter Cards#
Structured Data#
JSON-LD Format#
Common Schema Types#
URL Structure#
Best Practices#
Good URLs:
✓ https://example.com/blog/seo-guide
✓ https://example.com/products/blue-widget
✓ https://example.com/category/subcategory
Bad URLs:
✗ https://example.com/p?id=123
✗ https://example.com/blog/2024/01/15/post
✗ https://example.com/products/product_name_with_underscores
Handling URL Changes#
Technical Requirements#
Robots.txt#
# robots.txt
User-agent: *
Allow: /
Disallow: /admin/
Disallow: /api/
Disallow: /private/
Sitemap: https://example.com/sitemap.xml
XML Sitemap#
Dynamic Sitemap (Next.js)#
Performance and SEO#
Core Web Vitals Impact#
Google uses Core Web Vitals as ranking factors:
- LCP (Largest Contentful Paint): < 2.5s
- FID/INP (Interaction to Next Paint): < 200ms
- CLS (Cumulative Layout Shift): < 0.1
Mobile-First Indexing#
JavaScript SEO#
Server-Side Rendering#
Dynamic Rendering#
International SEO#
Hreflang Tags#
URL Structures#
Subdirectories (recommended):
example.com/en/page
example.com/es/page
Subdomains:
en.example.com/page
es.example.com/page
ccTLDs (for country targeting):
example.com (US)
example.co.uk (UK)
Common Mistakes#
Blocking Resources#
❌ Blocking CSS/JS in robots.txt
❌ Using noindex on important pages
❌ Incorrect canonical tags
❌ Missing alt text on images
❌ Duplicate content without canonicals
Technical Issues#
❌ Slow page speed
❌ Non-mobile-friendly pages
❌ Broken links (404s)
❌ Redirect chains
❌ Missing HTTPS
Testing and Validation#
Tools#
- Google Search Console (index status, errors)
- Google Rich Results Test (structured data)
- PageSpeed Insights (performance)
- Mobile-Friendly Test
- Screaming Frog (crawl analysis)
Validation Checklist#
□ All pages have unique titles and descriptions
□ Structured data validates without errors
□ No crawl errors in Search Console
□ Sitemap is submitted and valid
□ Core Web Vitals pass
□ Mobile usability is good
□ No broken links
□ HTTPS is enforced
Conclusion#
Technical SEO is about making your site easy for search engines to crawl, understand, and rank. Get the fundamentals right—proper meta tags, structured data, clean URLs, fast performance—and you've laid the foundation for organic growth.
SEO isn't magic; it's engineering. Apply the same rigor you bring to code, and your sites will rank.