Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)75k · #2932

lowercase

Skill này làm gì

Skill này kiểm tra địa chỉ web của website chỉ dùng chữ thường và các phiên bản có chữ hoa được chuyển hướng về bản thường. Skill dành cho chủ website và lập trình viên thiết lập định tuyến.

Khi nào nên dùng

  • ✓Khi bạn nhờ agent kiểm tra địa chỉ website có dùng chữ thường nhất quán không.
  • ✓Khi bạn thiết lập định tuyến cho website mới và muốn tránh trang trùng lặp do chữ hoa.
  • ✓Khi bạn thấy phiên bản có chữ hoa của trang không chuyển hướng và cần sửa bằng chuyển hướng vĩnh viễn.

Liên kết skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/lowercase/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/lowercase/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

“Bạn có thể đảm bảo mọi URL trên website của tôi là chữ thường và chuyển hướng các phiên bản có chữ hoa không?”

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

Cách hoạt động

Agent quét link và tuyến đường tìm chữ hoa, rồi thiết lập máy chủ hoặc framework để chuẩn hóa địa chỉ về chữ thường. Nó cũng thêm chuyển hướng 301 từ các địa chỉ có chữ hoa cũ.

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.

Use lowercase URLs

Mixed-case URLs can create duplicate content—search engines may index both /Product and /product as separate pages, splitting link equity and diluting rankings.

Quick Reference

  • URLs should be entirely lowercase to prevent duplicate content issues
  • Most web servers treat /Page and /page as different URLs, creating duplicates
  • Redirect uppercase and mixed-case URLs to their lowercase equivalents with 301
  • Apply lowercasing in your server config or framework router, not ad hoc

Check

Scan the site's internal links and server-side routes for URLs containing uppercase letters. Check HTTP response codes for uppercase variants of key URLs to confirm whether they redirect (301) to lowercase.

Fix

Configure your server or framework to normalize all incoming URLs to lowercase before routing. Add 301 redirects from any existing uppercase URLs to their lowercase equivalents. Update internal links and sitemaps to use only lowercase URLs.

Explain

URL case matters for SEO because case-sensitive servers treat /Page and /page as different resources, creating duplicate content. Even on case-insensitive servers, inconsistency confuses crawlers and splits PageRank across URL variants.

Code Review

Scan the site's route definitions, server configuration, and internal links for uppercase letters in URL paths. Test key URLs in uppercase and mixed case — verify they return 301 to the lowercase version, not 200. Check the sitemap for any uppercase <loc> entries. Verify framework router is configured to normalize URL case.


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

Rule page: https://frontendchecklist.io/rules/seo/lowercase

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

Vì sao chữ hoa lại quan trọng với SEO?

Một số máy chủ coi /Page và /page là hai trang riêng, điều này có thể chia lưu lượng và thứ hạng tìm kiếm giữa chúng.

Nên làm việc này trong code hay thủ công?

Skill khuyên cấu hình máy chủ hoặc router của framework, thay vì sửa từng URL một.

Còn link nội bộ thì sao?

Skill nói nên cập nhật link nội bộ và sitemap để chỉ dùng địa chỉ chữ thường.

Chi tiết

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

Use when auditing URL structure or configuring a new site's routing. Applies to any server or framework that allows case-insensitive file systems (Linux servers are case-sensitive by default).

repo: thedaviddias/Front-End-Checklist

Độ phổ biến

Sao GitHub
75k
Vị trí xếp hạng
#2932
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ự