digital-resources icon indicating copy to clipboard operation
digital-resources copied to clipboard

Find a way to rewrite or redirect trailing slashes

Open ViorelMocanu opened this issue 1 year ago • 0 comments

There's a config option in Astro but it doesn't redirect or rewrite the URL automatically. This means Google might treat these two URLs differently (if not for the Canonical value): https://resurse.dev/front-end vs https://resurse.dev/front-end/

https://flaviocopes.com/netlify-fix-trailing-slash-rewrite/ https://docs.astro.build/en/reference/configuration-reference/#trailingslash

ViorelMocanu avatar Oct 26 '23 15:10 ViorelMocanu