{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-slug-keywords-61bc0875ad01","title":"Optimize URL Slugs with Keywords for SEO","summary":"Improve SEO and user experience by including primary keywords in URL slugs for content pages. The deliverable is a set of optimized URL slugs that are lowercase, hyphen-separated, and include the page's primary keyword.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-slug-keywords-61bc0875ad01","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-slug-keywords-61bc0875ad01","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-slug-keywords-61bc0875ad01.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-slug-keywords-61bc0875ad01\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"Before optimizing, validate that the URL slugs are editable and that the site allows for 301 redirects. Prepare a list of primary keywords for each content page and ensure internal links, sitemaps, and canonical tags are updated after changes.","instructions":"---\nname: slug-keywords\ndescription: \"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.\"\nmetadata:\n  category: seo\n  priority: medium\n  difficulty: beginner\n  estimatedTime: \"10\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/seo\/slug-keywords\n---\n\n# Include keywords in URL slugs\n\nDescriptive URL slugs help users and search engines understand page content before visiting \u2014 a URL like `\/buy-running-shoes-women` communicates topic intent that `\/products\/4832` does not.\n\n## Quick Reference\n\n- URL slugs should contain the primary keyword of the page in lowercase, hyphen-separated words\n- Avoid numeric IDs (`\/page?id=12345`), random strings, or meaningless paths (`\/p\/a\/`)  in public URLs\n- Keep slugs concise: 3\u20135 meaningful words is typical; avoid keyword stuffing\n- Google uses URL words as a weak ranking signal and users use them to assess page relevance before clicking\n\n## Check\n\nCrawl 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.\n\n## Fix\n\nRewrite 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.\n\n## Explain\n\nExplain 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.\n\n## Code Review\n\nReview 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.\n\n---\n\nFor full implementation details, code examples, and framework-specific guidance,\nsee `references\/rule.md`.\n\nRule page: https:\/\/frontendchecklist.io\/rules\/seo\/slug-keywords\n","use_cases":["Enhance search engine visibility by incorporating primary keywords into URL slugs for blog posts and product pages.","Audit existing URLs to identify and fix slugs that lack keyword inclusion or contain numeric IDs and random strings."],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/slug-keywords\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-24","created_at":"2026-11-23T05:41:10.000000Z","updated_at":"2026-11-24T07:12:32.000000Z","seo_title":"Optimize URL Slugs with Keywords for SEO","seo_description":"Learn how to include primary keywords in URL slugs to improve SEO and user experience for content pages.","seo_keywords":["SEO URL slugs","Keyword-rich URLs","Optimize URL structure","Improve search visibility"]}}