---
title: "SEO for Static Sites: Common Pitfalls That Hurt Rankings"
description: "SEO for static sites: the pitfalls that keep a fast site invisible on Google, from JavaScript content and title tags to redirects, hreflang and GA4."
canonical: "https://socialinfluencebuilder.com/blog/static-site-seo-common-pitfalls/"
lastmod: "2026-10-12T20:31:34+00:00"
lang: "en-CA"
format: "markdown"
---
[Web version of this page](https://socialinfluencebuilder.com/blog/static-site-seo-common-pitfalls/)
HTML version: <https://socialinfluencebuilder.com/blog/static-site-seo-common-pitfalls/>
[French Markdown version](https://socialinfluencebuilder.com/fr/blogue/seo-sites-statiques-erreurs-courantes.md)
[English Markdown version](https://socialinfluencebuilder.com/blog/static-site-seo-common-pitfalls.md)

# SEO for Static Sites: Common Pitfalls That Hurt Rankings

SEO for static sites: a static site loads fast, but Google can still miss content it never receives as plain HTML. I'm Marven Salgado, founder of Social Influence in Mascouche, and I work on static sites for small businesses around Greater Montréal. A static site is a set of pre-built HTML pages that a static site generator produces and a host or CDN serves as is. Before you blame the competition, check what Google sees on your pages.

## SEO for static sites: why a fast site can still be invisible on Google

 A fast static site can still be invisible because speed only covers delivery, and Google also needs to read the content, tell the pages apart and follow the right URLs.

 I've seen this trip up small business owners around Greater Montréal more than once. The page looks fine in a browser while the crawler gets a near-empty shell, or every page on the site carries the same title.

 For a quick first pass, run a page through the [website grader](/tools/website-grader/), then go through each point below with your developer.

## Rendered HTML versus client-side JavaScript for your main content

 Your main content should arrive as rendered HTML, because text that only appears after client-side JavaScript runs can be missed or picked up late when Google processes the page.

 A static site generator is built to output finished HTML, yet plenty of sites still load their menus, product lists or service descriptions with a script after the page opens. A visitor never notices. Google's crawler starts from the HTML file and runs the scripts later, and if that step fails or a script is blocked, the page can look close to empty. Ask your developer whether the main text of each page is in the HTML file itself or fetched by a script after load. If it's fetched, ask for pre-rendering or server-side rendering, so search engines read the same page your customers see.

### How to check what Google actually receives

 Google Search Console's URL Inspection tool shows what Google receives: enter the page address, then open View crawled page to see the HTML Google stored for that URL.

 You can also run a live test and open the tested page, which adds a screenshot of what Googlebot rendered. There's an even quicker check in your own browser: open the page and choose View Source. That shows the raw file before any script runs, so if your headline and main paragraphs aren't in it, they depend on JavaScript.

 If your headings, text or links are missing from the rendered HTML, Google isn't reading them the way you want. It's the first thing I check on a static site, because Google can only index the words it receives.

## Title tags, meta descriptions and canonical tags in a site template

 Title tags, meta descriptions and canonical tags in a static site template have to come from each page's own data, or every page ships with the same head section.

 Because every page is built from shared templates, one mistake in the head section repeats across the whole site. If the title tag and meta description are hardcoded into the template, Google gets a set of pages that describe themselves the same way and has a harder time telling them apart. Pull these values from each page's front matter or page variables instead, so each page gets its own title and description.

 Canonical tags need the same treatment. Each page's canonical should point to its own URL. A canonical hardcoded to the homepage asks Google to treat every page as a copy of the homepage. Then pick one version of each address, with or without the trailing slash, with or without www, and use it everywhere: in the canonical, the internal links and the sitemap. When two versions of the same page both load, they split signals that should add up on one URL.

## Redirects, 404 pages and URL changes after a rebuild

 A rebuild that renames files or folders breaks the old URLs, so each one needs a 301 redirect to its new address before the new version goes live.

 A new generator or folder structure can change every address on the site without anyone noticing. Without redirects, the backlinks you earned over the years lead to an error page. Google drops the pages it can no longer find, and regular visitors who saved a link hit the same error and leave.

 I map every old URL to its new one before launch. With no CMS plugin to handle it, the redirects go into the host's configuration, so ask your developer where they live and test a few old addresses after launch. Even with clean redirects, expect some movement in search while Google recrawls the new URLs. Keeping URLs the same wherever you can and submitting the new sitemap in Search Console right after launch helps Google pick up the changes sooner. I also build a custom 404 page with links back to the main pages, so anyone who still lands on a dead link has somewhere to go.

## Sitemaps, robots rules and hreflang on a bilingual FR/EN static site

 Sitemaps, robots rules and hreflang tags on a bilingual static site tell Google which pages exist, which ones it may crawl and which French and English pages are versions of each other.

 On a static site, all three are usually files produced at build time or written once by hand, and they go stale when nobody looks at them after a change. On a bilingual site, the hreflang tags need the most care. If the French and English pages don't point back to each other, Google can show the English page to someone searching in French, or the reverse. On every page, I add hreflang="fr" and hreflang="en" tags pointing to the matching version, plus an x-default, and each page also lists itself. Consistent URL paths help too: when each language lives in its own predictable folder, a page and its translation are easy to pair.

 I list both language versions in a single sitemap, which is easier to keep current than two. I also make sure robots.txt isn't blocking the French folder or a whole section by accident, for example through a rule meant for a test copy of the site.

## Structured data, Google Business Profile and GA4 on a site with no CMS

 Structured data and GA4 on a site with no CMS are written by hand into templates, so nothing keeps them matching your Google Business Profile or present on every page unless someone checks.

 Someone writes the JSON-LD by hand, drops it into the HTML template and copies it to the pages that need it, and that's where mistakes creep in, especially when the LocalBusiness schema no longer matches your Google Business Profile listing. On every static site I manage, I check that:

- The name, address and phone number match exactly across the site and your Google Business Profile
- The schema type describes your kind of business as specifically as possible
- Hours and categories are the same everywhere
- The GA4 tag is in the shared template, so it loads on every page

 Consent and forms fall into the same gap. Whatever consent banner the site uses for Québec's Loi 25 has to live in those templates and be wired so GA4 respects the visitor's choice. The contact form needs its own handler too, since there's no CMS to receive submissions. When these details disagree or go missing, Google has less reason to trust what the page says.

## Static site SEO checklist for a Québec small business

 A static site SEO checklist for a Québec small business covers head tags, redirects, the bilingual setup, local details and tracking, checked before launch, after any redesign and every quarter.

- Main content appears in the HTML Google receives, on both language versions
- Title tags and meta descriptions are unique and mention your city and service
- Each canonical tag points to the page's own URL, in one consistent format
- Old URLs redirect with a 301 to their new address
- Hreflang tags pair each French page with its English version
- The sitemap is current and robots.txt blocks nothing important
- Your site, your LocalBusiness schema and your directory listings show the same name, address and phone as your Google Business Profile
- Pages load fast and read well on a phone
- Blog posts and other pages link to your main service pages
- French pages use the words Québec customers type into Google
- GA4 records visits on every page

 If you'd like someone to go through this list with your developer, that's what an [SEO audit](/services/seo-audit/) is for.

 A static site isn't the right fit for every business. You can run a blog on one without a CMS: posts are written in Markdown and the generator turns them into HTML pages, but every new post or edit means a rebuild and a redeploy. If your team updates content every week and nobody is comfortable with that workflow, a CMS may suit you better. Either way, the platform matters less than the work behind it: French-language content, a well-kept Google Business Profile and consistent local listings. If you're planning a rebuild, settle that choice at the [web design](/conception-web/) stage, before anyone picks a generator.

## Go further

- **Service:** [SEO Audit for Montreal Businesses, Know Exactly What&rsquo;s Holding You Back](https://socialinfluencebuilder.com/services/seo-audit/)
