Technical SEO
What is technical SEO?
Technical SEO deals with the infrastructure of your site — how search engines access, index and render your pages. You can have perfect content, but if Google cannot access your site properly, it will not rank it.
Site speed
Loading speed is one of the most important technical factors:
Core Web Vitals
Google measures three key metrics:
| Metric | What it measures | Good result |
|---|---|---|
| LCP (Largest Contentful Paint) | How quickly the main content loads | < 2.5 seconds |
| INP (Interaction to Next Paint) | How quickly the site reacts to a click | < 200 ms |
| CLS (Cumulative Layout Shift) | How much the content shifts while loading | < 0.1 |
How to speed up a site
- Optimise images — Use the WebP format, compress, use lazy loading
- Minimise CSS and JS — Remove unnecessary code
- Use caching — Browser cache for static resources
- CDN — A Content Delivery Network distributes content globally
- Compression — Gzip or Brotli compression for text resources
Mobile optimisation
Since 2021 Google uses mobile-first indexing — meaning Google looks at the mobile version of your site first.
Responsive design
Your site must adapt to every screen size:
/* Example media query */
@media (max-width: 768px) {
.container { padding: 16px; }
.sidebar { display: none; }
}
Testing
- Google Mobile-Friendly Test
- Chrome DevTools → Toggle Device Toolbar (Ctrl+Shift+M)
Sitemap and robots.txt
XML sitemap
A sitemap is a list of all the pages on your site that you send to Google:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.yoursite.com/</loc>
<lastmod>2025-01-15</lastmod>
<priority>1.0</priority>
</url>
</urlset>
Robots.txt
A file that tells search engines what they may and may not index:
User-agent: *
Allow: /
Disallow: /admin/
Sitemap: https://www.yoursite.com/sitemap.xml
Structured data (schema markup)
Structured data helps Google understand the content of your page better and show rich snippets in search results.
Example: local business
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Bakery Bread & Rolls",
"address": {
"@type": "PostalAddress",
"streetAddress": "Knez Mihailova 25",
"addressLocality": "Belgrade"
},
"telephone": "+381-11-1234567"
}
HTTPS
Google favours sites that use HTTPS:
- Free SSL certificate: Let's Encrypt
- Redirect all HTTP requests to HTTPS
- Update all internal links to HTTPS
Tip: Use Google PageSpeed Insights and Google Search Console to diagnose technical problems.