mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-16 12:25:04 -04:00
Correct possible typos re: Alias robots usage (#1165)
This commit is contained in:
parent
efd5d186a1
commit
6795cd2a19
@ -175,7 +175,7 @@ Assuming a `baseURL` of `example.com`, the contents of the auto-generated alias
|
|||||||
</html>
|
</html>
|
||||||
```
|
```
|
||||||
|
|
||||||
The `http-equiv="refresh"` line is what performs the redirect, in 0 seconds in this case. If an end user of your website goes to `https://example.com/posts/my-old-url`, they will now be automatically redirected to the newer, correct URL. The addition of `<meta name="robots" content="noindex">` lets search engine bots know that they should not crawl and index your new alias page.
|
The `http-equiv="refresh"` line is what performs the redirect, in 0 seconds in this case. If an end user of your website goes to `https://example.com/posts/my-old-url`, they will now be automatically redirected to the newer, correct URL. The addition of `<meta name="robots" content="noindex">` lets search engine bots know that they should not index your alias page (`https://example.com/posts/my-old-url/`).
|
||||||
|
|
||||||
### Customize
|
### Customize
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user