Wowchemy-hugo-modules: Generate robots.txt automatically

Created on 21 Oct 2018  路  3Comments  路  Source: wowchemy/wowchemy-hugo-modules

Currently, the robots.txt file is not generated automatically. It can be useful to generate it automatically based on predefined rules with the default being allow all access.

Most helpful comment

At first I didn't have the robots.txt file and I noticed Google and Bing coming to our department websites and ONLY look for the robots.txt file! Nothing else! So, I guess now it should be implemented, otherwise you not get indexed!
in static/robots.txt put:
User-agent: *
Disallow:

And watch you access.log files!

All 3 comments

The default intended behavior is for search engines to index all content, hence robots.txt is redundant in the general case.

That is true but many sites like Yandex prefer a robots.txt for SEO.

At first I didn't have the robots.txt file and I noticed Google and Bing coming to our department websites and ONLY look for the robots.txt file! Nothing else! So, I guess now it should be implemented, otherwise you not get indexed!
in static/robots.txt put:
User-agent: *
Disallow:

And watch you access.log files!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gcushen picture gcushen  路  4Comments

petzi53 picture petzi53  路  4Comments

CommonClimate picture CommonClimate  路  4Comments

chris-prener picture chris-prener  路  3Comments

henningninneh picture henningninneh  路  3Comments