# Technical SEO and indexability checks

> Inspect crawl directives, canonicals, robots.txt, XML sitemaps, language variants, redirects, and HTTP behavior with Sonjoo.

Canonical documentation: <https://sajaddehshiri.ir/sonjoo-seo-audit/features/technical-seo/>

Sonjoo uses the observed response, HTML, and relevant site resources to identify technical SEO issues. These checks help explain why a URL may be hard to discover or ineligible for indexing. Actual indexing and search-engine canonical selection need verification with the relevant search engine.

Run an audit from **New audit** in the dashboard or use the CLI to select specific categories.

```sh
sonjoo audit 'https://example.com/' --categories core,technical,crawl,redirect,i18n,url \
  --no-save --format json
```

Choose a [linked crawl](https://sajaddehshiri.ir/sonjoo-seo-audit/features/crawling/) when you need to compare pages, redirects, and URL relationships. Category selection limits the audit to those checks. Inspect individual rule results for what was measured.

## Indexability and canonical URLs

| Capability                   | What it measures                                                                                                                                                                             | Rule examples                                                                                                                                                                                                                        |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Robots directives            | Reads robots meta tags and `X-Robots-Tag` directives, identifies conflicts and obsolete directives, and reports signals such as `noindex`, `nosnippet`, or `unavailable_after` when present. | [Robots meta](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/core/#core-robots-meta), [directive mismatch](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/core/#core-robots-directive-mismatch)                  |
| Canonical declarations       | Reads canonical links in HTML and response `Link` headers. Highlights conflicts, duplicate or misplaced declarations, fragments and unusual targets.                                         | [Header canonical](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/core/#core-canonical-header), [conflicting canonicals](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/core/#core-canonical-conflicting)        |
| Canonical target health      | Checks evidence that the target redirects, is disallowed or noindexed, or forms part of a chain or loop. Grouping related URLs in a crawl provides more evidence of competing URL forms.     | [Canonical to redirect](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/crawl/#crawl-canonical-redirect), [canonical chain](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/crawl/#crawl-canonical-chain)          |
| Conflicting indexing signals | Surfaces combinations such as non-indexable pages in sitemaps, structured data on noindexed pages, or indexability and canonical disagreements.                                              | [Indexability conflict](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/crawl/#crawl-indexability-conflict), [noindex in sitemap](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/crawl/#crawl-noindex-in-sitemap) |

The dashboard's **Crawl Explorer** shows observed indexability states and their underlying URL evidence, including blocking, redirects, non-200 status, noindex, and canonicalization. Use the [crawl inventory API](https://sajaddehshiri.ir/sonjoo-seo-audit/api/reference/#routes) to query the same records. A URL reported as indexable passed the observed eligibility checks; this does not establish that it appears in search.

## Robots.txt and XML sitemaps

Sonjoo checks for reachable and valid-looking `robots.txt` and sitemap documents, extracts crawl directives, and checks for blocked resources or images. Sitemap collection uses declarations in `robots.txt` when present and otherwise checks `/sitemap.xml`. It can read gzip-compressed input and follows one level of children from sitemap indexes. The inventory shares a budget of 10 child documents and 50,000 retained URL entries across top-level sitemap declarations. Each sitemap document is limited to 50 MiB of decoded XML. Unread, oversized, or unreachable documents can leave gaps.

Sitemap rules examine URL counts and sizes, duplicate entries within and across documents, host mismatches, and `lastmod` evidence. Cross-checks look for sitemap URLs that are redirected, blocked, noindexed, noncanonical, or isolated from links, and for measured indexable URLs absent from the collected sitemap. Review [site infrastructure rules](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/technical/) and [discovery and indexing rules](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/crawl/). An incomplete sitemap or crawl provides partial evidence, especially for orphan and absence checks.

## HTTP status, redirects, and URL consistency

* **HTTP and infrastructure.** Check server errors, non-404 client errors, timeouts, wrong content types, empty HTML, and likely soft 404 templates when the required evidence is available. Surface `www` and trailing-slash behavior, AMP pairing, and selected analytics or consent markup problems. See [site infrastructure](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/technical/) and [soft 404](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/technical/#technical-soft-404).
* **Redirects.** Detect loops and broken chains, inspect redirect status or suspected case normalization, and check redirects declared in HTTP Refresh, HTML meta refresh, or JavaScript. Browser resource redirects require observed requests. See [redirect rules](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/redirect/) and [resource redirect chains](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/redirect/#redirect-resource-chain).
* **URL construction.** Find patterns such as uppercase paths, underscores, spaces, excessive length, session IDs, tracking parameters, and internal search URLs. Check potential HTTP/HTTPS duplicate forms when evidence is available. Use [URL rules](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/url/) to identify what each check treats as an issue.
* **Pagination.** Inspect pagination relationships for invalid destinations, self-references, inconsistent sequence, noindex, canonical mismatches, or isolated series. The destination syntax check does not establish whether a target is reachable. See [pagination sequence](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/crawl/#crawl-pagination-sequence) and [pagination noindex](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/crawl/#crawl-pagination-noindex).
* **Internationalization.** Verify language declarations and inspect hreflang targets for broken responses, redirects, conflicting annotations, language mismatches, lack of reciprocal links, and `x-default`. Some relationships require a crawl or a successful target probe. See [language and locale rules](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/i18n/) and [hreflang reciprocity](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/crawl/#crawl-hreflang-reciprocity).

## Connection and policy signals

The audited website's [connection and security rules](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/security/) report visible evidence such as HTTPS behavior, TLS certificate and protocol details where available, selected response headers, mixed content, cookie flags and lifetimes, and insecure form targets. The [policy signals category](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/legal/) checks for recognizable cookie-consent evidence. Review findings with the relevant security or policy owner; a technical audit does not establish security assurance or legal compliance.

To interpret per-page and crawl-level findings, see [reports and coverage](https://sajaddehshiri.ir/sonjoo-seo-audit/guides/reports-and-coverage/). For initial setup, see [your first audit](https://sajaddehshiri.ir/sonjoo-seo-audit/start/first-audit/).
