Những gì nhân viên của anh biết trước khi nó xây dựng bất cứ thứ gì
Bất kỳ ai cũng có thể chỉ một mô hình trên một trang web. Đây là những quy tắc nó áp dụng cho mỗi trang, tại sao mỗi trang tồn tại, và những quy tắc nào ngăn chặn việc xuất bản thay vì cảnh báo về nó.
Mỗi quy tắc dưới đây được trả giá bởi một sự cố trên một trang web chúng tôi điều hành — một vách đá xếp hạng, một bản dịch bị hỏng, một trang web có mã nguồn của riêng nó. Chúng tôi không đoán trước những thực hành tốt nhất; chúng tôi viết ra những gì đã sai để nó không bị sai trên trang web của bạn.
Quy tắc ngăn chặn việc xuất bản: 8 của 12. Một trang bị chặn sẽ được trả lại cho nhân viên với lý do, và nó sẽ thử lại. Nó sẽ không công bố và cảnh báo bạn sau đó.
1. One page, one subject
Khối công bố
Exactly one <h1>. A descriptive <title> of 15-60 characters.
Sao?: 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
cảnh báo
A meta description of 140-158 characters, unique to the page.
Sao?: 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
Khối công bố
Every page gets body copy and FAQ answers written for that page. Never a shared template with a noun swapped in.
Sao?: 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
Khối công bố
Every page self-canonicalises with an absolute URL. Any hreflang cluster ships alongside that canonical, also absolute.
Sao?: 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
Khối công bố
Structured data mirrors the visible text exactly. Schema goes on the page types that earn a rich result, not on everything.
Sao?: 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.
7. Positional {0} slots in translatable strings
Khối công bố
Any string that will be machine-translated uses {0}, {1} — never {name}.
Sao?: 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
Khối công bố
Pages ship noindex. Indexing is a deliberate opt-in by the owner, per site.
Sao?: 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
cảnh báo
A page either does something useful or says something specific. A page that only describes a tool is not a page.
Sao?: Thin wrappers around someone else's API are the clearest signal a quality classifier has. Real utility is what survives a core update.
10. No orphans
cảnh báo
Every indexable page has at least one inbound internal link.
Sao?: Internal links pass ranking signal and drive crawl. A page reachable only from the sitemap gets crawled a few times and then largely forgotten.
11. Alt text and intrinsic dimensions on every image
cảnh báo
Every <img> has alt text and explicit width/height.
Sao?: 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
Khối công bố
A removed page returns 410 Gone, confirmed by an actual request after deploy.
Sao?: 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.
Tại sao đây là một linter và không phải là một hướng dẫn phong cách
Một quy tắc chỉ sống trong một lệnh là một gợi ý — mô hình tuân theo nó hầu hết thời gian và không làm gì khác, và bạn sẽ biết được ba tháng sau đó trong báo cáo lưu lượng. Vì vậy, chúng chạy như mã, sau khi trang được viết và trước khi nó được thực hiện. Một trang không thành công trong quy tắc chặn sẽ được trả lại với lý do và được viết lại. Kết quả là trên nhận được theo bất kỳ cách nào, vì vậy bạn có thể thấy những kiểm tra nào chạy.
Và không có gì được liệt kê cho đến khi anh nói vậy.
Mỗi trang bắt đầu với noindex. Không phải là mặc định bạn phải tìm ra — theo quy tắc linter áp dụng, vì các trang này chia sẻ một miền và một hàng xóm xấu làm tổn thương tất cả mọi người trên nó. Khi trang của bạn đáng tìm, bạn bật chỉ mục trong thiết lập và nó bắt đầu được quét.
Đi làm ca đầu tiên của anh