Yes… I have the following in the hugo.toml, without that, all pages are “noindex”
But only one is still noindex. I’m not sure how this works… even locally, i removed that conditional statement and it still has the same result.
It is only one page that has “noindex” not all
/docs/posts/page/1/index.html
The website is https://americanmonk.org
That one page listed above… does not show “noindex”, because you cannot get to it … it redirects.
But locally it shows it on my own computer. “docs” is the output directory.
[params]
paginate = 50
text_color = ""
author = ""
favicon = ""
site_logo = ""
env = "production"
production = true # Set to false for development or testing environments
public = true # Set to false if the site should not be indexed
private = false
Locally on my machine… I removed all of the variable logic for noindex.
It is just this one generated page that has noindex.
In fact, there is nothing searchable in my project directory that says “noindex”.
Because of that, i’m baffled as to why that page gets generated with noindex.
What is that page? I cannot find it on the live server. I wonder if google finds it?
I have requested a reindex with google, but that takes time.
I’m not sure… It is the only file that has this “noindex” . I wonder why it is built though.
I removed any trace of noindex.
Perhaps google complaint is old or caused by my move to hugo or cloudflare. I’m not sure.
What I am sure about is the contents of that file saying noindex… or is that what redirected pages should have?