Technical SEO Audit Workflow: From Fetch to Retest
Build a repeatable audit around real URLs, returned HTML, and saved evidence. Diagnose access and indexing conflicts first, check page relationships and presentation next, then retest the deployed fix. Includes an API workflow that preserves failed checks instead of silently passing them.
Start with a URL inventory and a reproducible question
A technical SEO audit should explain why a specific page can or cannot be crawled, rendered, indexed, and understood. An HTTP 200 response answers only the transport question. It does not prove that the page contains the intended content or that Google has selected it for indexing.
Choose representative URLs for each template: homepage, category, product, article, and a known missing page. Record the expected canonical URL and whether each page should be indexed. Retain the response headers and the HTML that the scanner actually fetched. If a CDN returns a challenge, login page, or error template, investigate access before interpreting its title or content score.
This workflow combines on-page SEO, search readiness, canonicals, robots directives, sitemaps, and structured data. Keep its results separate from the domain authority score, which measures a different set of signals.
Use title-width estimates as an editorial aid
A title can fit a character guideline and still be visually long. EdgeDNS estimates width and returns a `title.widthAnalysis` object with its own truncation threshold and preview. That is a scanner heuristic, not a measurement of the title Google will display for every query or device.
Review whether the title identifies the page's subject and matches its main heading. Put the distinguishing detail early, remove repeated boilerplate, and compare titles across sibling pages. Google's title-link guidance explains that search titles can come from several page signals and may differ from the HTML title.
The API parameter is named domain, even when its value is a full page URL. URL-encode the value so query strings inside the target URL are preserved.
curl --fail-with-body --get "https://api.edgedns.dev/v1/domain/seo-audit" \
--data-urlencode "domain=https://example.com/products/blue-widget?variant=large" \
--header "Authorization: Bearer YOUR_API_KEY"Separate access failures, noindex, soft 404s, and rendering
Review the status code and final content first. A 403 can be an application permission response or an edge challenge; a 200 can contain a missing-page template. The search-readiness response exposes the soft-404 heuristic at `crawlability.softFourOhFour` and mixed-content findings at `technicalSeo.mixedContent`. Review their evidence before changing a page: heuristics can misclassify short but useful content.
Read both meta robots and X-Robots-Tag headers. A `noindex` instruction prevents indexing when Google can fetch it. A robots.txt disallow prevents crawling and can therefore prevent Google from seeing a page's noindex tag. Google's noindex documentation explains this interaction.
The current search-readiness endpoint accepts a bare domain and assesses its root page. Use the page-aware on-page, metadata, canonical, and structured-data endpoints for deeper URLs. These scanners inspect fetched HTML; verify JavaScript rendering and interactive behavior separately in a browser and Google URL Inspection. Check HTTP responses when access or redirects are unclear.
Check canonical targets and hreflang return links
A canonical URL expresses the preferred representative of similar content. Compare that preference with internal links, redirects, and sitemap entries, then review Google's selected canonical in Search Console. These signals can disagree; a self-referencing tag is not proof that Google selected it.
For translated pages, validate the alternate URLs and their language codes. Check that each relevant alternate links back and that the URLs are reachable. The canonical endpoint's `validateReciprocity=true` option enables its return-link audit for Developer or higher. Provide the full page URL as the `domain` parameter; passing `url=` is not the request contract.
An unavailable return-link result is not a passing result. Confirm your plan and inspect the response before interpreting it. Use Google's localized-page guidance and canonical guidance when deciding the correct relationships.
Resolve robots rules for the crawler and URL you care about
Fetch robots.txt from the correct origin. Different user-agent groups can give Googlebot, GPTBot, and ClaudeBot different rules. EdgeDNS exposes per-crawler analysis under `effectiveRulesByCrawler`, along with declared sitemap URLs and reachability findings.
A crawler's root-level allowance is not proof that every path is allowed. Check the directive that matches the exact URL being investigated, including any more-specific path rule. Do not use a robots block as a substitute for access control, or assume that a training-crawler policy determines inclusion in Google Search.
The robots API reference describes the scanner output. Google's robots introduction describes why a blocked URL can still appear in search if it is discovered through links.
Sample sitemap URLs and maintain truthful modification dates
The sitemap should list canonical URLs that you want indexed. Check that the sitemap itself returns the expected XML, then sample its listed URLs for broken responses, redirects, or noindex. The `validateUrls=true` option on the sitemap endpoint enables sampled URL checks on Pro or Enterprise; inspect `sampleValidation` to see whether the check ran.
Sampling cannot establish the status of every URL in a large sitemap. A HEAD response also cannot establish all HTML-level indexability or rendering behavior. Retest important failures with a GET request and inspect the returned content before deciding what to remove or repair.
Use lastmod for a substantial content modification supported by an editorial record. Avoid refreshing every date on each deployment. Google's sitemap guidance describes the role of these URLs and dates; neither a sitemap entry nor a recent date guarantees indexing.
Validate structured data against the visible page
Start with parsing errors, then inspect whether each declared entity describes content actually present on the page. A syntactically valid schema block is not, by itself, eligible for every Google search feature. Review required fields and the current support for the format you use.
The structured-data endpoint returns rule-based `richResultsEligibility` findings and a `strategicGaps` object. Use them as review prompts, not as a promise of a knowledge panel, a search box, higher rankings, or a click-through uplift. Test representative URLs in Google's Rich Results Test and consult the search gallery for supported formats.
For a guide, check the headline, publisher, dates, and representative image. Omit an unknown publication date rather than inventing one. A modification date should agree with visible content and the sitemap where it is used.
Run an audit that keeps failed checks visible
The following Node.js example collects seven reports. It uses the actual `domain` query argument, URL-encodes the full page URL where supported, and keeps the root-only readiness check scoped to the hostname. Each HTTP failure is recorded rather than being treated as an empty passing report.
The example requests the advanced sitemap validation, so Pro or Enterprise is needed for the complete pass. Developer can run the on-page, readiness, and structured-data checks and canonical reciprocity; Free supports the basic metadata, canonical, robots, and sitemap endpoints. Options that are tier-gated may be omitted from the result on a lower plan, so inspect the response rather than assuming they ran. See the endpoint catalogue and pricing.
Save the raw reports with your collection time. Review findings by impact: access and indexing conflicts first, then broken relationships and template errors, then presentation improvements. Avoid turning every informational recommendation into a deployment blocker.
// Node.js: EDGEDNS_API_KEY=... node audit.mjs
const apiKey = process.env.EDGEDNS_API_KEY;
if (!apiKey) throw new Error('Set EDGEDNS_API_KEY');
const pageUrl = 'https://example.com/products/blue-widget?variant=large';
const hostname = new URL(pageUrl).hostname;
const checks = [
['onPage', '/v1/domain/seo-audit', { domain: pageUrl }],
['readiness', '/v1/domain/search-readiness', { domain: hostname }],
['metadata', '/v1/domain/meta', { domain: pageUrl, validateImages: 'true' }],
['canonical', '/v1/domain/canonical', { domain: pageUrl, validateReciprocity: 'true' }],
['robots', '/v1/domain/robots', { domain: hostname }],
['sitemap', '/v1/domain/sitemap', { domain: hostname, validateUrls: 'true' }],
['schema', '/v1/domain/structured-data', { domain: pageUrl }],
];
const reports = await Promise.all(checks.map(async ([name, path, params]) => {
const requestUrl = new URL(path, 'https://api.edgedns.dev');
requestUrl.search = new URLSearchParams(params).toString();
try {
const response = await fetch(requestUrl, {
headers: { Authorization: `Bearer ${apiKey}` },
signal: AbortSignal.timeout(60000),
});
const result = await response.json();
return { name, ok: response.ok, status: response.status, result };
} catch (error) {
return { name, ok: false, error: String(error) };
}
}));
console.log(JSON.stringify({ collectedAt: new Date().toISOString(), pageUrl, reports }, null, 2));
if (reports.some(report => !report.ok)) process.exitCode = 2;Retest the fix and check Google separately
A useful remediation record names the affected URLs, the observed finding, the expected behavior, the owner, and the retest result. Re-run with the same parameters after deployment and account for API or CDN caching when comparing results.
Then inspect the live URL in Search Console and review the indexed version separately. A successful live fetch establishes technical access at that moment; it does not promise that Google will index the page or select it for a particular query. Follow indexing status and page/query performance over complete reporting periods.
Use the response-time guide when investigating slow responses, and the MCP workflow guide when an assistant will help interpret the reports. Keep the saved evidence accessible to the person or system doing the comparison.
Related Guides
MCP Server for DNS: Setup, Lookups and Reliable Answers
Connect your AI client to EdgeDNS, run a verifiable DNS lookup, and compare resolver answers after a change. Learn which checks your account can run, how to interpret the results, and what requires saved history or a separate monitoring workflow.
Domain Authority & Trust Scores: Check and Interpret Them
Check a domain’s authority and operational trust signals, then see what the numbers actually measure. Understand the four-source authority formula, optional DNS/email/HTTPS trust score, and the limits of using either as an SEO metric.
HTTP Checker: Check Server Status, Redirects, and Response Time
Check whether a URL responds as expected, see where it redirects, and understand its elapsed time and HTTPS result. Start with a browser check, then use the same endpoint in a deployment workflow.
Server Response Time and Edge TTFB Percentiles Explained
Measure response latency from an edge worker and understand what the median, p90, p95, and p99 can tell you. Learn where a small synthetic sample differs from browser timing and production tail latency.
API Reference for This Guide
- SEO Audit API: GET /v1/domain/seo-audit
- Search Readiness API: GET /v1/domain/search-readiness
- Meta Tags API: GET /v1/domain/meta
- Canonical URL API: GET /v1/domain/canonical
- Robots.txt API: GET /v1/domain/robots
- Sitemap Check API: GET /v1/domain/sitemap
- Structured Data API: GET /v1/domain/structured-data
- SEO Score API: GET /v1/score/seo
Need Programmatic Access?
Automate domain intelligence with 100+ API endpoints and a free MCP server for AI integration.