Making a portfolio readable by search engines and AI assistants
In November 2026 this site was audited with a repeatable script and Google Lighthouse, then fixed. Automated errors went from 13 to 0. This page lists what was wrong, including mistakes in the site's own claims.
Before and after
Lighthouse 12, mobile lab settings; scores vary between runs, and one of the five later live runs scored 71 on a cold cache right after deploying. Most of the speed gain comes from starting the 3D bust on first interaction, or four seconds after load. The audit script checks crawl access, redirects, metadata, structured data, links, anchors and protected files. It missed two markup problems on new pages that Google's Rich Results Test caught; both were fixed and the script now checks for them.
What was wrong
- Canonical URL that redirected: the research hub declared /research/ as canonical while the server redirected it to /research.
- Claims that went too far: the site said a 35B model had been quantized by its author, while the model card says the weights are unchanged and credits others. A "600 tools" figure had no source in the project documentation. Both were corrected.
- Dates without a time zone: Search Console flagged a date without a time.
- A hidden character: the IndexNow key file started with a byte-order mark.
- Build files in public: package files, an old PHP form and stylesheet sources were downloadable.
- Images blocked elsewhere: a security header told browsers not to show the site's images on other sites.
- Weak contrast and labels: small grey text and an icon-only link failed accessibility checks.
- A dead source: one research reference returned 404 and was replaced with the original article.
- One-page structure: HAYAT, services and the eBPF tools had no page of their own to rank or cite.
What changed
- Dedicated pages for the person, HAYAT, both eBPF tools, services and ventures, all readable without JavaScript
- Structured data that describes one connected set of entities and matches the visible text
- Shorter titles and descriptions, one canonical URL per page, PDFs pointing to their web page
- JSON endpoints, OpenAPI, JSON Feed, security.txt, privacy page and a useful 404 page
- An audit script and a question set that can be re-run after every change
What this does not prove
These checks measure whether a site can be read and understood, not whether it will be recommended. Rankings, AI citations and traffic depend on competition, links and time, and are not guaranteed.
Use the checklist
- Fetch every sitemap URL: each must return 200 and name itself as canonical.
- Turn JavaScript off and read the page.
- Compare each structured-data claim with visible text and with its source.
- Request the page as each crawler and confirm it receives the same HTML.
- Look for files you did not mean to publish.
- Ask assistants branded and unbranded questions, record the answers, and repeat monthly.
Questions and answers
Does this guarantee AI recommendations?
No. It makes a site easier to crawl, understand and verify. No one can guarantee rankings, citations or recommendations.
What tools were used?
Lighthouse, Google's Rich Results Test and a small Python script, on the existing free hosting.