Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.squirrelscan.com/llms.txt

Use this file to discover all available pages before exploring further.

Checks that URLs use hyphens, not underscores
Rule IDurl/hyphens
CategoryURL Structure
ScopePer-page
Severitywarning
Weight4/10

Solution

Use hyphens (-) to separate words in URLs, not underscores (_). Google treats hyphens as word separators but treats underscores as word joiners. ‘blue-shoes’ = ‘blue’ + ‘shoes’, but ‘blue_shoes’ = ‘blueshoes’. This affects keyword matching and SEO. Replace underscores with hyphens and set up redirects from old URLs.

Enable / Disable

Disable this rule

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

Disable all URL Structure rules

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

Enable only this rule

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