# SEO check

> How ready a static site is for search engines — titles, descriptions, sitemap, robots.txt and broken links. Adding the site to Google and Yandex.

Source: https://livops.dev/en/docs/seo

A static site has an **SEO** tab. It reads the files of the live release — from the server, not over the internet — and checks what search engines look at. A site behind a password is checked the same way.

## What is checked

On every HTML page:

- a `<title>`, between 10 and 60 characters;
- a `<meta name="description">`, between 50 and 160 characters;
- `og:title` and `og:image`, so a link shared in Telegram or elsewhere has a headline and a picture;
- exactly one `<h1>`;
- `<img>` without an `alt` attribute (an empty `alt=""` marks a decorative image and is fine);
- `<html lang="...">`, `<link rel="canonical">`, `<meta name="viewport">`;
- whether internal links and images lead to a file that exists.

Across the site:

- whether `robots.txt` exists and does not shut the whole site out (`User-agent: *` + `Disallow: /`);
- whether `sitemap.xml` exists and is valid;
- images over 500 KB.

The result is a score out of 100 and a list grouped by problem and page. The same problem on many pages lowers the score once.

## The assistant's reading

**Get the reading** asks the assistant to explain the findings briefly. For pages with no title or description it proposes a concrete `title` and `description` from the page's own text, for you to copy into your code.

Livops **writes nothing** to your code. When `sitemap.xml` or `robots.txt` is missing, a ready file is shown: add it to your repository's `public/` folder and deploy again.

The reading is made once per deploy and kept.

## Google Search Console

1. Open [search.google.com/search-console](https://search.google.com/search-console).
2. Choose the **Domain** type and enter your domain.
3. Add the TXT record Google gives you to your domain's DNS at your registrar.
4. Once verified, enter `https://your-domain/sitemap.xml` under **Sitemaps**.

On a `*.livops.app` address the DNS is not yours — choose **URL prefix** and the **HTML file** method: put Google's file in `public/` and deploy.

## Yandex Webmaster

1. Add the site at [webmaster.yandex.ru](https://webmaster.yandex.ru).
2. Verify with a **DNS record** (TXT) or an **HTML file**. For the file, put it in `public/` and deploy.
3. Add your `sitemap.xml` address under **Indexing → Sitemap files**.
