Add canonical URL and noindex when using full page redirection
This commit is contained in:
parent
44fa00ec52
commit
1f1a220e7d
|
@ -5,5 +5,7 @@
|
|||
{{- if not $url }}
|
||||
{{- errorf "missing, empty or null value at 'values.redirect.url': %s" .Position }}
|
||||
{{- end }}
|
||||
<link rel="canonical" href="{{ $url }}">
|
||||
<meta name="robots" content="noindex">
|
||||
<meta http-equiv="refresh" content="{{ $delay }}; url={{ $url }}">
|
||||
{{- end }}
|
||||
|
|
Reference in New Issue