Why this matters
A technical audit checks the parts of a website that visitors never see and search engines always do. A site can look perfect and still be quietly broken in these ways for years.
Claude Code suits this job because an audit is patient, repetitive reading: open every page, record the same facts about each, compare. Where it goes wrong is judgement. It cannot see your visitor numbers or Google’s view of your site, so it cannot know which page earns you money. You supply the business sense.
Before you start
This is an advanced course. It assumes Claude Code is installed and signed in, which “Setting up Claude Code on your computer” covers.
Terms, once each:
- Terminal. The text window where you type commands.
- Crawl. To visit every page of a website by following its links, as a search engine does.
- Indexing. A search engine adding a page to its records so it can appear in results.
- HTML. The code a web page is written in.
Safety for this course:
- Work in a dedicated folder. Create a new, empty folder called
seo-audit. Start Claude Code only from inside it. - Audit only your own site. Crawling sends many requests to a website. Do it to your own, gently.
- Never give it credentials it does not need. The audit reads your public pages and needs no login.
- Review before approving. By default Claude Code asks before it runs commands, fetches from the internet or edits files. Read each request.
- No customer personal data, passwords or confidential figures. The audit covers public pages only. In anything you type, swap names for placeholders.
- Keep backups. Step 6 changes your website. Have a backup of the site before any fix goes in.
To begin, open your terminal, cd into the folder, type claude and press Enter.
Step 1: What a technical audit checks
A technical audit asks five questions of a site, in this order:
- Can search engines reach the pages?
- Are they allowed to index them?
- Does each page say what it is?
- Do the pages connect?
- Are the pages quick and clear to a machine?
Press Shift+Tab until the bottom of the screen reads “plan mode on”. In plan mode Claude Code researches and proposes without editing files.
I want to run a technical SEO audit of my own website: [YOUR WEBSITE ADDRESS]. I am not technical, so explain every term the first time you use it.
Fetch only these and nothing else:
- the home page
- the robots.txt file
- the sitemap, if robots.txt or the home page points to one
Then tell me in plain English:
1. Whether the home page loaded over a secure connection
2. What robots.txt is, what mine says and whether it blocks anything important
3. What a sitemap is, whether I have one and how many pages it lists
4. Whether the home page carries any instruction telling search engines not to index it
Then propose an audit plan for this site: what you will check in each area, what you will save and anything you cannot check from here.
Rules:
- Read only. Do not submit forms or log in.
- Do not create files yet.
Claude Code will ask permission to fetch from your website. Approve it. Read points 2 and 4 twice.
Worked example. A letting agent in Stockport ran this first look on a rebuilt site. The robots.txt file still held a line the developers had added during the rebuild. It told every search engine to stay out of the “/properties/” section, which held every listing the business had. No content work would have helped while that line stood.
When you are happy with the plan, approve it and ask Claude Code to save it as audit-plan.md.
The first look covers three files. Step 2 reads the rest.
What good looks like: a plain-English account of your robots.txt, sitemap and home page, plus an audit-plan.md you understand.