DEV Community

Mohamed Desouky
Mohamed Desouky

Posted on

Four technical SEO checks every developer should run before launch

Most developers I work with treat SEO as something marketing handles later. The trouble is that the biggest wins and the worst losses are decided in code and config, before any content is written. Here are four checks I run on a site before anything else.

1. Can the page be rendered without your JavaScript bundle?

Fetch the raw HTML with curl and read it. If your main content, title and canonical tag only appear after hydration, a crawler may see an empty shell on the first pass. Server-render or pre-render anything you want indexed.

2. Is there exactly one canonical URL per page?

Trailing slashes, uppercase paths, tracking parameters and http versus https all create duplicates. Pick one form, redirect the rest with a 301, and set a self-referencing canonical.

3. Does robots.txt match what you actually want crawled?

Staging rules leak into production more often than you would think. Open /robots.txt after every deploy and confirm you are not blocking CSS, JS or key directories.

4. Do internal links use real anchors?

Links built with click handlers and no href are invisible to crawlers. Use plain <a href> elements with descriptive text so authority flows to the pages that matter.

If you want the full checklist behind these, the technical SEO optimization guide goes through crawling, indexing and site architecture step by step. For the content side, a content SEO analysis shows which pages already earn their place and which need work.

I'm Mohamed Desouky at SEO Stack, and I've spent over eight years on technical SEO. Fix the foundations first, and everything you publish afterwards works harder.

Top comments (0)