I just realised that for a standard Grav installation,
both domain.tld/some-page and
www.domain.tld/some-page are valid routes. At least a while ago, this was considered bad for SEO as it was counted as “double content”.
I know I can fix this easily with a line or two in the .htaccess, but if that file gets updated, my changes will be lost. I thought about creating a plugin to sort this out, but that feels like overkill. Am I overlooking a simple way to achieve this, a setting or something? I’m sure a lot of people need this?