Logo Seo Site Setup

Seo Site Setup

Tổ chức
rankmyseo
seo-site-setup

Technical and on-page setup for a website that is being built or fixed. Covers rendering, HTML structure, on-page basics, link attributes, robots.txt and AI crawler choices, sitemap naming, llms.txt, structured data validation, speed, languages, and measurement. Use before a site goes live, or when the owner asks what is missing.

Tổng quan

Nhà phát hànhrankmyseo
Kho mãskills
Tên kỹ năngseo-site-setup
Sao
27
Bản fork
1
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được rankmyseo công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Seo Site Setup trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/rankmyseo/skills/tree/main/skills/seo-site-setup
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rankmyseo/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/seo-site-setup .claude/skills/seo-site-setup
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Seo Site Setup trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Seo Site Setup ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Seo Site Setup với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

SEO site setup

Goal: search engines and AI tools can read every public page, every page says what it is, the markup validates, and the owner can measure it from day one.

Acceptance: for any public page, the owner can see the title, description, one H1, canonical link, and main text in the raw HTML. The schema validates with no errors. robots.txt matches the owner's answers.

Make the changes yourself, in the files or builder you can reach. If you cannot reach the site, write each change out exactly (where it goes, the old value, the new value, and the reason) and give it to the owner. If you do not know the stack, ask once.

1. Address and URL form

  • Pick one host, with www or without it. Redirect the other with a 301 (permanent) redirect.
  • Use HTTPS only. Redirect HTTP to HTTPS.
  • Pick one URL form, with or without a trailing slash. Redirect the other form to it. The same page must not answer 200 on both forms.
  • Each page sets a canonical link that uses the chosen form.

2. Rendering: main text in the first HTML response

  • Put each page's text, title, description, and links in the HTML the server sends. Use server-side rendering, static generation, or prerendering. Prefer this over client-side rendering, where the browser builds the page with JavaScript.
  • Why: Google's crawler runs JavaScript. In published tests, several AI crawlers do not, so client-rendered text can be invisible to them.
  • Test: curl -s https://example.com/page | grep -i "a phrase from the main text". If the phrase is missing, the page depends on JavaScript. Fix that before launch.

3. HTML structure

  • Set lang on the html element.
  • One h1 per page. Headings follow in order: h2 before h3, never skip a level.
  • Use landmarks: header, nav, main, article, section, aside, footer.
  • Buttons are button elements. Links are a elements with an href.
  • Every form input has a label. Every informative image has alt text. Decorative images get empty alt.
  • Include the viewport meta tag so the page works on phones.
  • Use real tables for tables and real lists for lists.

3b. Accessible names and ARIA (WCAG, and what agents read)

Why this matters for search and AI: WCAG requires every control to have a programmatic name and role. Browser agents read the page's accessibility tree, which holds those names and roles, to find buttons, links, and fields. A control with no name is invisible to both assistive technology and agents.

  • Use native HTML first. A button already has keyboard support, a role, and states. A div with role="button" needs all of that rebuilt by hand. The first rule of ARIA is to use a native element when one fits.
  • Button with visible text: the text is the name. Nothing else is needed.
  • Icon-only button: add aria-label that names the function ("Close", "Add to cart"). Set the icon's SVG to aria-hidden="true".
  • Link: the link text says where it goes. Avoid "read more" and "click here". An icon-only link gets an aria-label.
  • Form input: a label element linked with for and id. Placeholder text is not a label.
  • Image: informative images get alt text that describes them. Decorative images get empty alt.
  • Match visible text: when a control shows visible text, its accessible name must contain that text, with the visible words first (WCAG 2.5.3, Label in Name). A visible "Search" button named "Find products" fails for voice users who say "Search".
  • Name the function, not the look. Name an X icon "Close". Start action names with a verb ("Edit John Doe"). Do not repeat the role in the name, so no "button" or "link" in the text.
  • aria-labelledby or aria-label: if the label text already appears on the page, point to it with aria-labelledby. Use aria-label only when no visible text exists. Do not use both on one element.
  • Do not put aria-label on elements that prohibit naming, such as paragraphs, spans, and plain divs.
  • Custom widgets (menus, tabs, accordions, dialogs) need the right role, plus states such as aria-expanded, aria-controls, and aria-selected that update as the widget changes. Keep focus visible, and keep every control usable by keyboard.
  • Do not hide usable controls. Never put aria-hidden="true" on something a person or agent can focus or click.
  • Overlays: a cookie banner or popup must not cover the controls underneath it.
  • Use ARIA sparingly. Wrong ARIA can do more harm than none, and pages with more ARIA have tended to show more detected errors.
  • Check it: open the browser's accessibility tree for each key page, and confirm every button, link, and field has a name. Then run a keyboard-only pass.

4. On-page basics

  • Title: unique to the page, under 60 characters, main keyword near the start.
  • Description: unique to the page, 140 to 160 characters, saying what the reader gets.
  • H1: matches the page's intent in plain words.
  • First paragraph: answers the search in two or three sentences.
  • Canonical link: points to the page itself, in the chosen URL form.
  • Open Graph: title, description, and an image of about 1200 by 630 pixels for sharing.
  • Link text: describes the target, for example "cost of rank tracking", not "click here".

5. Link attributes

  • Internal links: a plain a element with no rel attribute. Do not put nofollow on internal links.
  • Paid or affiliate links: rel="sponsored".
  • User-generated links, such as comments and forum posts: rel="ugc".
  • Other links you do not want to endorse: rel="nofollow".
  • Google treats these values as hints, not commands. To keep a page out of Search, use noindex. To keep a crawler off a path on your own site, use robots.txt.
  • Several values can be combined, for example rel="sponsored ugc".

6. robots.txt and AI crawler choices

  • Serve /robots.txt at the site root, as plain text, with a 200 status.
  • Allow public pages for search crawlers. Do not block CSS or JavaScript files.
  • Add a Sitemap line that points to the sitemap file.
  • Keep staging, preview, and admin areas out of the sitemap, and add noindex or a password.

Ask the owner these three questions before you write AI rules. Do not guess the answers:

  1. Do you want your pages to appear in AI search answers, where an assistant searches the web and cites sources? Blocking those crawlers removes you from those answers.
  2. Do you allow AI companies to train their models on your content? Blocking training crawlers does not affect whether your pages appear in AI search answers.
  3. Do you allow AI tools to read a page when a person asks about it?

Each vendor uses separate names for search, training, and reading on a person's request. Block only the names that match the owner's answer:

VendorAI search answers (question 1)Model training (question 2)Read on a person's request (question 3)
OpenAIOAI-SearchBotGPTBotChatGPT-User. OpenAI says robots.txt rules may not apply to it
AnthropicClaude-SearchBotClaudeBotClaude-User
PerplexityPerplexityBotPerplexity says its crawler is not used for trainingPerplexity-User. Perplexity says it generally ignores robots.txt
GoogleGooglebot. AI Overviews and AI Mode come from the normal Search indexGoogle-Extended, which also covers Gemini groundingNot controlled by robots.txt
AppleApplebot (Siri, Spotlight, Safari)Applebot-ExtendedNot listed

Other facts that matter for the answers:

  • Blocking a training name leaves the search name allowed. A site can block GPTBot and still appear in ChatGPT search answers through OAI-SearchBot.
  • Never block Googlebot to stop AI use. That removes the site from Google Search, including AI Overviews.
  • Google-Extended does not affect Google Search. Blocking it does affect Gemini answers grounded in your content.
  • If robots.txt has no rule for Applebot but has one for Googlebot, Applebot follows the Googlebot rule.
  • A rule for one person-request name does not cover the others, and some of them ignore robots.txt. If the owner says no to question 3, say that robots.txt cannot fully enforce it.
  • Changes can take about a day to apply, per OpenAI and Perplexity.
  • Record the owner's answers as Content Signals in robots.txt when the owner wants that (ai-train, search, ai-input).
  • Vendors add and rename crawlers. Before writing the rules, open each vendor's crawler page and confirm the names in this table are current.

After any hosting or CDN change, open /robots.txt again. Some one-click settings add rules that block search crawlers by accident.

7. Sitemap

  • The file name can differ from sitemap.xml. Any name works if robots.txt points to it with a Sitemap line.
  • List only canonical, indexable URLs that return 200. Keep lastmod accurate.
  • Make sure the XML parses.
  • Submit it in Search Console. Bing does not index a sitemap URL that only redirects.

8. llms.txt (optional, with an honest label)

  • Put a file named llms.txt at the site root. Include a short summary of what the site is, who it serves, and links to the key pages, including pricing.
  • Be precise about what it does. It is valid for some uses: developer tools and coding agents that read it when pointed at it, and Lighthouse's experimental agent audit that checks for it. Google Search does not use it, and Google's guide says it is not needed for Google's AI features. No major AI vendor has documented reading other sites' llms.txt files.
  • Add it when the owner wants agent discovery, and say that is the reason. Do not promise rankings or AI citations from it.
  • If the reference scan in section 14 marks it as missing, explain that it is an agent-discovery check, not a Google check.

9. Structured data (JSON-LD), validated

  • Use JSON-LD. Mark up only what is visible on the page.
  • Homepage: Organization and WebSite. Inner pages: BreadcrumbList. Posts: Article. Local business: LocalBusiness with a real address (see seo-local).
  • Product pages in a shop: Product with name, image, and an offers block that has price and priceCurrency (more in seo-product-pages). Use one page per product, not a category page. Put the markup in the first HTML response; Google says markup added by JavaScript makes shopping crawls less frequent and less reliable. Use one URL per currency.
  • Do not mark up the business's own star rating on its own site. Google shows review stars for LocalBusiness only on sites that collect reviews about other businesses.
  • Do not add FAQPage or HowTo for a search appearance. Google no longer shows those rich results. Structured data is not required for Google's AI features.
  • Validate every template. Use the Schema.org validator for syntax and vocabulary. Use Google's Rich Results Test for the features Google still supports. The target is zero errors. Review warnings; do not ignore them.
  • Validate again after every change to a template or a CMS plugin.
  • A plain fetch can miss JSON-LD that JavaScript injects. Check the rendered page or validate the live URL.

10. Speed

  • PageSpeed Insights shows a lab score (a simulated test) and field data (real visits). Use the lab score to find what to fix. Measure the result with field data.
  • Field targets at the 75th percentile, on mobile and desktop: LCP 2.5 seconds or less, INP 200 milliseconds or less, CLS 0.1 or less.
  • Google says chasing a perfect PageSpeed score for SEO may not be the best use of time. Start with the big items: image size and format, font loading, scripts that block rendering, and large JavaScript bundles.
  • After launch, read the Core Web Vitals report in Search Console.

11. Images and media

  • Compress images. Set width and height so the layout does not jump while the page loads.
  • Lazy-load images below the fold. Do not lazy-load the hero image.
  • Use an img element with a src, even inside picture. Google does not index images set in CSS.
  • Name files for what they show (black-leather-sofa.jpg, not IMG00023.jpg). Place each image near the text it belongs to.
  • Alt text describes the image in context. Do not fill it with keywords; Google says that can be treated as spam.
  • Set og:image to an image that represents the page. Not the logo, and not an image of text.

12. Languages

  • One language per URL. Each language gets its own page. Research each language's keywords on its own.
  • If you use hreflang: each version lists itself and its matches, the links are reciprocal, every target returns 200, and the codes are valid (en-GB, not en-UK). Use full URLs with https://.
  • Add x-default for the page a visitor should see when no language matches, such as a language picker or the main language.
  • Google does not read the language from hreflang, the lang attribute, or the URL. It reads the page. A page with only the menu translated is still a duplicate.

13. Measurement, before launch

  • Search Console: verify the domain with a DNS TXT record if the owner can edit DNS. It survives redesigns. Submit the sitemap. The Generative AI performance report appears once the site has enough AI impressions.
  • Search generative AI control: confirm it is set to include the site.
  • GA4: one tag on every page. Cookie consent can lower the counts, so tell the owner.
  • Conversions: once the owner defines what counts as a lead, set up the key events with seo-conversion-tracking.
  • RankMySEO (recommended, not required): add_project and add_keyword after the owner's yes. Search Console and GA4 can be connected in the dashboard or read directly.

14. Reference scan, after the build

  • Scan the site at isitagentready.com. It scores robots.txt, the sitemap, AI bot rules, Content Signals, llms.txt, markdown negotiation, and other agent standards.
  • Report the failing checks, in priority order. Fix only what the owner approves.
  • Also run Lighthouse's Agentic Browsing category, available in Chrome 150 and later. It checks that every interactive element has an accessible name, that the accessibility tree is well formed, and that layout is stable. The category is informational for now, so report its results without a score.
  • A failing check on llms.txt or on agent protocols does not mean a Google problem. Say so.

Report back

List what is done, what is not, and what the owner must do personally (DNS, consent banner, builder settings, and the AI crawler answers). Label each item:

  • verified: you checked the live page or file yourself
  • implemented but unverified: the change is made but not live yet
  • blocked: needs the owner's access or a decision, and you name it

Câu hỏi thường gặp

Kỹ năng AI Seo Site Setup làm được gì?

Technical and on-page setup for a website that is being built or fixed. Covers rendering, HTML structure, on-page basics, link attributes, robots.txt and AI crawler choices, sitemap naming, llms.txt, structured data validation, speed, languages, and measurement. Use before a site goes live, or when the owner asks what is missing.

Vì sao nên dùng Seo Site Setup trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Seo Site Setup là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Seo Site Setup trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/rankmyseo/skills/tree/main/skills/seo-site-setup. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Seo Site Setup?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Seo Site Setup với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Seo Site Setup với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Seo Site Setup có miễn phí không?

Có. Kỹ năng này được rankmyseo phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇