Skip to content

Commit 25c0f24

Browse files
lzapbep
authored andcommitted
Remove noindex meta tag from alias.html
Google does not behave as expected when an alias is used. It does not index the client-side alias page, but on top of that it also does not index the original page. Google does not require noindex to be present and since alias pages do not have any content, it makes little sense to provide it. Therefore, this patch removes the line completely. https://developers.google.com/search/docs/crawling-indexing/301-redirects
1 parent 4f2d2b2 commit 25c0f24

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎tpl/tplimpl/embedded/templates/alias.html‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<head>
44
<title>{{ .Permalink }}</title>
55
<link rel="canonical" href="{{ .Permalink }}">
6-
<meta name="robots" content="noindex">
76
<meta charset="utf-8">
87
<meta http-equiv="refresh" content="0; url={{ .Permalink }}">
98
</head>

0 commit comments

Comments
 (0)