Skip to main content
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
[rules]
disable = ["url/slug-keywords"]

Disable all URL Structure rules

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

Enable only this rule

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