A technical SEO audit can sound like a specialist ritual. At the beginner level it is a series of checks: can crawlers find the right pages, are we showing one official URL for each document, and do old addresses still lead somewhere useful? This guide covers robots.txt, XML sitemaps and 301 redirects in that spirit, with free tools you can run before you touch the server.
It will not replace a crawl of a 50,000-URL site. It will stop the most common ways a small site hides itself or splits its own signals.
Start with a crawl budget you actually have
On a small static site, “crawl budget” is mostly a reminder not to waste a crawler’s time on infinite filters, test folders, or duplicate hosts. Make a short inventory: homepage, tools, articles, legal pages. Those should be allowed, linked, and listed in a sitemap. Admin areas, thank-you pages, and internal search results usually should not be.
robots.txt is a set of hints, not a lock
A robots.txt file tells cooperating crawlers which paths they should not fetch. It is public. It is not a way to hide a private photo gallery. If something must stay private, use authentication, not a Disallow line.
A healthy file for a small public site is often simple: allow the site, name the sitemap, and disallow only paths you are sure should not be crawled. Build and sanity-check it with the robots.txt generator and tester. Paste a path such as /blog/ or /admin/ and see whether the rules would allow it before you upload. Then fetch the live file after deploy to confirm the right one is at the site root.
Common mistakes include blocking CSS or JavaScript that Google needs to understand the page, typoing Disallow, and leaving a staging rule in production. Another mistake is using robots.txt to “delete” a URL already indexed. Use a proper removal path and a redirect or noindex as the situation requires, not a silent Disallow you expect to erase memory.
XML sitemaps are a map, not a ranking spell
A sitemap lists URLs you want discovered, ideally with honest lastmod dates. It should not list 404s, redirected URLs, or noindexed pages. For a static site, generating the file from your real inventory is enough. Use the XML sitemap generator, then host it at a public URL and reference it from robots.txt. Submit it in Search Console.
When you add a cluster of new tools or articles, regenerate the sitemap in the same release. A sitemap that is six months behind your library is how new pages wait in the dark. When you remove a page, remove it from the sitemap in the same release as the redirect or 404.
301 redirects preserve a path; they do not fix a bad destination
A 301 says “this URL has moved permanently, send people and signals there.” Use it when you change a slug, retire a duplicate, or move from http to https or from www to apex. Generate rules with the .htaccess redirect generator, merge them carefully with any file your host already uses, and test the old URL after deploy.
Do not chain three redirects if one will do. Do not send every retired post to the homepage unless that is truly the best remaining page. Do not redirect a spam URL to a money page in a way that looks like a scheme. And do not invent a 301 loop — the tester is your preview, but a staging host is still wiser for anything site-wide.
On this site, HTTPS pages on www go to the apex. If you run a similar rule, keep canonical tags, internal links and the sitemap on the same host so you are not fighting your own redirects.
A beginner audit sequence you can run today
- List your important URLs in a document.
- Fetch each one and note the status code. Repair 404s or 500s before you think about fine-tuning titles.
- Confirm there is one preferred host and that the other combination redirects once.
- Draft robots.txt, test a few paths, and upload it to the root.
- Generate a sitemap of the live, indexable URLs and reference it from robots.txt.
- Add 301s for any retired slugs, then click those old links yourself.
- Submit the sitemap in Search Console and sample a few URLs with the URL inspection tool when you have access.
If something fails, fix the fetch problem first. A perfect title tag on a blocked URL is a private monologue. Technical SEO at this level is courtesy: show crawlers the door you want them to use, and leave a sign when you move house. Then go back to writing pages worth finding.
Hosts, HTTP, and the one official address
Before you edit robots.txt, decide the official host: https on apex, or https on www, not both as equals. Internal links, canonical tags, Open Graph URLs, the sitemap, and your Search Console property should all use that host. If a user types the other combination, one 301 should land them on the official URL, not a chain through HTTP and then through www.
HTTP that fails outright is a different problem from HTTP that redirects. If the insecure request returns an error, people and some monitors will see a broken site even if the HTTPS address is fine. Raise that with your host if you cannot fix the listener yourself. While you wait, keep every public link on HTTPS so everyday visitors never have to touch the broken path.
What should never appear in a sitemap
Leave out thank-you pages, internal search results, filtered parameter URLs, staging copies, and anything that returns a noindex, a 404, or a redirect. Leave out legal drafts you are not ready to share, and leave out a URL you have just redirected away from — the destination belongs in the sitemap, not the old slug. If a tool output is a temporary query string rather than a stable page, it does not belong either.
Lastmod should change when the document changed in a way a crawler might care about, not every night because a script touched the file. A sitemap of honest dates is more useful than a sitemap that claims everything was rewritten this morning.
Redirect maps for real migrations
When you change a large set of slugs, build a spreadsheet: old path, new path, status you expect. Generate the 301 rules, deploy to a staging copy if you can, and spot-check a sample plus every URL that used to bring traffic. Watch for loops, for redirects into soft 404s, and for HTML pages that now return a different content type.
If two old articles merge into one, send both old URLs to the surviving article, then update internal links so the site itself no longer leans on the redirect. Redirects are a safety net, not a permanent architecture you should keep adding to without cleaning the source links.
robots.txt and Search Console together
After you upload robots.txt and the sitemap, use Search Console’s robots testing and sitemap reports when you have access. If a URL is “blocked by robots.txt” and you did not mean it, fix the rule. If the sitemap report lists errors, download the examples and repair them at the source: 404s, redirects inside the sitemap, or URLs on the wrong host. The robots tester is your first pass; the Search Console report is the pass that uses Google’s view of the file.
Remember that a Disallow does not remove an already indexed URL from results by itself. If you need a page out of the index, use the appropriate noindex or removal path and make sure the page can still be fetched unless you have a reason to block it. Guessing at this with a new Disallow line is how people hide the very document they wanted erased from a cache they no longer control the way they think they do.
A 60-minute audit you can diary each quarter
Minutes 1–10: fetch the homepage, a tool, a blog post, and a legal page on the official host; note status codes and whether the canonical matches the address bar. Minutes 11–20: fetch the other host and HTTP once each and confirm a single redirect. Minutes 21–30: open robots.txt and the sitemap in a browser, count the URLs, and sample five lines against live responses. Minutes 31–45: click five old slugs you have recently changed. Minutes 46–60: write down every mismatch in a list and fix the dangerous ones — 500s, loops, blocked CSS — before you tidy dates in the sitemap.
For speed and markup after this pass, use the Core Web Vitals guide and the on-page checklist. Technical files will not save a thin page, and a beautiful title will not save a URL that never gets fetched. Run both layers, starting with the one that answers “can a crawler get the document at all?”
Save the inventory next to the sitemap generator input so the next release cannot forget a new tool or a retired slug. That small habit is the difference between a site that looks finished in your editor and a site that is actually finished on the public web.