Што ведае ваш супрацоўнік перад тым, як ён штосьці стварыў

Кожны можа паказаць мадэль на вэб- сайце. Гэта правілы, якія ён прымяняе да кожнай старонкі, чаму кожная з іх існуе, і якія з іх спыняюць публікацыю, а не папярэджваюць пра яе.

Кожнае правіла ніжэй было выплачана з- за інцыдэнту на нашым сайце - уцёкі з рэйтынгу, пашкоджаны пераклад, старонка, якая паказвае свой уласны зыходны код. Мы не здагадваемся, што лепшы падыход; мы запісваем тое, што ўжо не так, каб гэта не здарылася на вашым сайце.

Правілы, якія блакуюць публікацыю: 8 з 12. Блакаваныя старонкі вяртаюцца працаўніку з тлумачэннем прычыны, і ён спрабуе зноў. Гэтая старонка не публікуецца і папярэджвае вас пасля.

1. One page, one subject

Блокі

Exactly one <h1>. A descriptive <title> of 15-60 characters.

Чаму: Title is the strongest per-page signal Google has. Google rewrites titles for the SERP most of the time, but the signal it forms from yours still affects ranking, and a generic or duplicated title reads as a quality problem.

2. A description written for a human

папярэджвае

A meta description of 140-158 characters, unique to the page.

Чаму: Description does not rank the page, it decides whether anyone clicks it. Too short wastes the snippet; too long truncates mid-sentence.

3. No shared body text, ever

Блокі

Every page gets body copy and FAQ answers written for that page. Never a shared template with a noun swapped in.

Чаму: This is the one that costs months. A site we run shipped ~1700 pages on one generic FAQ body and a site-level quality classifier suppressed the whole domain — pages still indexed, ranking gone, no manual action to appeal. Recovery ran on core-update timescale.

4. Absolute canonical, paired with hreflang

Блокі

Every page self-canonicalises with an absolute URL. Any hreflang cluster ships alongside that canonical, also absolute.

Чаму: Relative hrefs are silently dropped. hreflang without a self-canonical fills the index report with "Duplicate without user-selected canonical" — 56,801 pages on one site we run.

5. Markup may only claim what the page shows

Блокі

Structured data mirrors the visible text exactly. Schema goes on the page types that earn a rich result, not on everything.

Чаму: Schema is not a general ranking input and not required for AI search -- Google says so directly. Markup that claims a price or a question the page never shows is a violation that can earn a manual action.

6. Django comments are {% comment %}

Блокі

Never {# #}. Not even on one line.

Чаму: Django's template lexer regex has no DOTALL flag, so {# #} only closes on its own line. A multi-line one renders as visible page text, and if it contains a {% %} substring the lexer treats it as a real tag and every render crashes. Both have happened in production.

7. Positional {0} slots in translatable strings

Блокі

Any string that will be machine-translated uses {0}, {1} — never {name}.

Чаму: MT engines translate or transliterate the word inside the braces, or drop a brace entirely. A numeric slot has no word to translate and survives intact. This silently broke about 10% of non-English rows on one site before anyone noticed.

8. Nothing is indexable until it is finished

Блокі

Pages ship noindex. Indexing is a deliberate opt-in by the owner, per site.

Чаму: These sites share a wildcard domain. One spam tenant indexed on that wildcard damages every other tenant on it, and a half-finished page indexed on day one takes months to undo.

9. Build the thing, do not describe the thing

папярэджвае

A page either does something useful or says something specific. A page that only describes a tool is not a page.

Чаму: Thin wrappers around someone else's API are the clearest signal a quality classifier has. Real utility is what survives a core update.

11. Alt text and intrinsic dimensions on every image

папярэджвае

Every <img> has alt text and explicit width/height.

Чаму: Alt text is an accessibility requirement first and an indexing signal second. Missing dimensions cause layout shift, which is a Core Web Vitals failure on mobile — and mobile is what gets indexed.

12. Retired URLs return 410, verified

Блокі

A removed page returns 410 Gone, confirmed by an actual request after deploy.

Чаму: A 404 lingers as a soft-404 for months; a 410 deindexes cleanly. And per-view dispatch often intercepts the request before the 410-returning view is ever reached, so the check has to be a real HTTP request, not a code read.

Чаму гэта ліст, а не кіраўніцтва па стылі

Рэгуляванне, якое існуе толькі ў інструкцыях, з' яўляецца прапановай - мадэль падпарадкоўваецца яму большасць часу і ціха не падпарадкоўваецца астатнім, і вы даведаліся пра гэта праз тры месяцы ў справаздачы аб трафіку. Такім чынам, яны выконваюцца як код, пасля таго, як старонка была напісана і перад тым, як яна была запушчаная. Старонка, якая не выконвае правіла блакавання, вяртаецца з прычынай і перапісваецца. Вынік з' яўляецца на атрыманні ў любым выпадку, таму вы можаце бачыць, якія праверкі былі выкананы.

І нічога не будзе індэксавацца, пакуль вы не скажыце

Кожны сайт пачынае працу з noindex. Па змаўчанні вы не павінны выяўляць яго - звычайна linter прымушае яго, бо гэтыя сайты падзяляюць адзін дамен і адзін дрэнны сусед шкодзіць усім на ім. Калі ваш сайт варта знайсці, вы ўключыце індэксацыю ў наладах і ён пачне праглядацца.

Вынік linter для кожнай старонкі запісваецца на яе квитанции, і квитанцыі даступныя праз API.

Стварыць маю кампанію бясплатна