GitHub

Slug Keywords

Checks if URL slug contains relevant keywords

Checks if URL slug contains relevant keywords

Rule IDurl/slug-keywords
CategoryURL Structure
ScopePer-page
Severityinfo
Weight3/10

Solution

URLs should contain keywords that describe the page content. Good: /blue-running-shoes. Bad: /product-12345 or /p?id=abc. Include primary keywords in the URL path, but avoid keyword stuffing. URLs should be readable by humans and give users an idea of page content before clicking. Dynamic parameters don’t provide SEO value.

Enable / Disable

Disable this rule

squirrel.toml
toml
[rules]
disable = ["url/slug-keywords"]

Disable all URL Structure rules

squirrel.toml
toml
[rules]
disable = ["url/*"]

Enable only this rule

squirrel.toml
toml
[rules]
enable = ["url/slug-keywords"]
disable = ["*"]

Type to search…

↑↓ navigate ↵ open esc close