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 }}
|
{{- if not $url }}
|
||||||
{{- errorf "missing, empty or null value at 'values.redirect.url': %s" .Position }}
|
{{- errorf "missing, empty or null value at 'values.redirect.url': %s" .Position }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
<link rel="canonical" href="{{ $url }}">
|
||||||
|
<meta name="robots" content="noindex">
|
||||||
<meta http-equiv="refresh" content="{{ $delay }}; url={{ $url }}">
|
<meta http-equiv="refresh" content="{{ $delay }}; url={{ $url }}">
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Reference in New Issue