Skip to content

Add redirects for URLs with parameters to variants without parameters #168

@Noki

Description

@Noki

Google Search Console shows that some URLs are linked externally with parameters e.g.:

https://berlin.freifunk.net/de/?bla

These URLs are duplicate content and consolidated by Google via the canonical tag. A better solution is to modify our Caddyfile to redirect all URLs with parameters to the corresponding URLs without parameters:

https://berlin.freifunk.net/de/?bla => https://berlin.freifunk.net/de/

From looking at the documentation we can do this with a query matcher: https://caddyserver.com/docs/caddyfile/matchers#query

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions