Chuyển đến nội dung
Skillpedia
SEO75k · #3027

slug-keywords

Skill này làm gì

Skill này xem xét địa chỉ web của các trang nội dung và gợi ý slug mô tả chủ đề bằng từ ngữ đơn giản. Nó dành cho chủ website và người viết đang xây dựng hoặc sửa cấu trúc URL.

Khi nào nên dùng

  • ✓Khi bạn yêu cầu agent cải thiện địa chỉ web của các bài blog hoặc trang sản phẩm.
  • ✓Khi URL của bạn chỉ có số hoặc chuỗi ngẫu nhiên và bạn muốn slug dễ đọc.
  • ✓Khi bạn lên kế hoạch cấu trúc URL cho một website mới.

Liên kết skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/slug-keywords/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/slug-keywords/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“URL bài blog của tôi toàn là số ngẫu nhiên. Bạn có thể gợi ý slug rõ ràng, dựa trên từ khóa cho từng bài không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent đọc chủ đề của các trang và viết slug viết thường, nối bằng dấu gạch ngang, có từ khóa chính. Khi URL hiện tại thay đổi, nó khuyến nghị chuyển hướng 301 từ địa chỉ cũ và cập nhật liên kết nội bộ cùng sitemap.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Include keywords in URL slugs

Descriptive URL slugs help users and search engines understand page content before visiting — a URL like /buy-running-shoes-women communicates topic intent that /products/4832 does not.

Quick Reference

  • URL slugs should contain the primary keyword of the page in lowercase, hyphen-separated words
  • Avoid numeric IDs (/page?id=12345), random strings, or meaningless paths (/p/a/) in public URLs
  • Keep slugs concise: 3–5 meaningful words is typical; avoid keyword stuffing
  • Google uses URL words as a weak ranking signal and users use them to assess page relevance before clicking

Check

Crawl the site and examine URL paths. Flag URLs that contain: numeric IDs only, random strings, session tokens, dates without a descriptive slug, or overly generic words (/page, /item, /post). Verify slugs are lowercase and hyphen-separated.

Fix

Rewrite slugs to include the page's primary keyword in natural language. Use lowercase letters and hyphens as word separators. Set up 301 redirects from old URLs to new slugs. Update internal links, sitemaps, and canonical tags.

Explain

Explain how keyword-rich URL slugs improve click-through rates in search results, serve as a weak relevance signal for search engines, and make URLs easier to share and understand.

Code Review

Review metadata generation, rendered HTML, structured data, and response headers related to Include keywords in URL slugs. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/seo/slug-keywords

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

Từ khóa trong URL có giúp xếp hạng không?

Skill gọi đó là tín hiệu xếp hạng yếu, nhưng cho biết các từ này giúp người dùng đánh giá mức liên quan trước khi nhấp.

Slug nên dài bao nhiêu?

Skill gợi ý khoảng ba đến năm từ có ý nghĩa và cảnh báo không nhồi nhét từ khóa.

Nếu tôi đổi một URL hiện có thì sao?

Skill cho biết nên thiết lập chuyển hướng 301 từ địa chỉ cũ sang địa chỉ mới.

Chi tiết

Mô tả gốc của tác giả

Use when applies to blog posts, product pages, and any content page with editable URL slugs. Use when building a URL strategy for a new site or auditing existing URLs for keyword inclusion.

repo: thedaviddias/Front-End-Checklist

Độ phổ biến

Sao GitHub
75k
Vị trí xếp hạng
#3027
Giấy phép
MIT
Cập nhật
31/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự