epic-stack icon indicating copy to clipboard operation
epic-stack copied to clipboard

Remove redundant noindex meta tag?

Open hilja opened this issue 5 months ago • 2 comments

https://github.com/epicweb-dev/epic-stack/blob/9db9a75949463de571f3018d3b1151004d6c50e3/app/root.tsx#L172

Correct me if I’m wrong but since the 'X-Robots-Tag', 'noindex, nofollow' header is set in server:

https://github.com/epicweb-dev/epic-stack/blob/9db9a75949463de571f3018d3b1151004d6c50e3/server/index.ts#L217

The above meta tag might not be needed.

Instead of a tag, you can return an X-Robots-Tag HTTP header with a value of either noindex or none in your response.

At least that’s how I’m reading the Google docs.

hilja avatar Sep 24 '24 10:09 hilja