starlight-links-validator
starlight-links-validator copied to clipboard
Enforce trailing slashes for internal links
Is your feature request related to a problem?
SEO tools are often confused if urls don't match the canonical url (even if it is just a trailing slash)
Describe the solution you'd like
We want to consistently set all urls with trailing slashes (/)
Describe alternatives you've considered
No response
Additional Context
No response
Thanks for your feedback.
Are you using the Astro trailingSlash option set to always? When doing so, you should get an error for content links missing a trailing slash while also ensuring that Starlight generated pages do the same.