We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently when visiting https://lotusdocs.dev/robots.txt it returns 404 error page.
In order to improve the SEO it would be helpful for the site to return /robots.txt with following content:
/robots.txt
User-agent: * Disallow: Sitemap: https://lotusdocs.dev/sitemap.xml
This will allow crawling everything and point the crawlers to the sitemap.xml which is already available.
sitemap.xml
Source for sitemap not supporting relative urls: https://stackoverflow.com/a/14218476/1337062 Source for allowing everything: https://stackoverflow.com/a/44467157/1337062
No response
The text was updated successfully, but these errors were encountered:
If you add enableRobotsTXT=true to your hugo.toml, it should work.
enableRobotsTXT=true
hugo.toml
You can also change the file by editing layouts/robots.txt.
layouts/robots.txt
Sorry, something went wrong.
No branches or pull requests
Past Issues Searched
Issue is a Bug Report
Describe the bug
Currently when visiting https://lotusdocs.dev/robots.txt it returns 404 error page.
Expected behavior
In order to improve the SEO it would be helpful for the site to return
/robots.txt
with following content:This will allow crawling everything and point the crawlers to the
sitemap.xml
which is already available.Source for sitemap not supporting relative urls: https://stackoverflow.com/a/14218476/1337062
Source for allowing everything: https://stackoverflow.com/a/44467157/1337062
Screenshots
No response
Environment
No response
The text was updated successfully, but these errors were encountered: