Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Suggestion for the default robots.txt

Started by Muut Archive 10 years ago · 1 replies · 1378 views
10 years ago

Some Google Search Console tools are unable to load CSS files and report errors when you check a "mobile friendly" site build with Grav.

I suggest to add these two lines in the default robots.txt of Grav in order to avoid these problems:

YAML

User-agent: Googlebot
Allow: *.css$
---

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2567 9 years ago
Archive · by Muut Archive, 9 years ago
2 1690 9 years ago
Archive · by Muut Archive, 9 years ago
2 4982 9 years ago
Archive · by Muut Archive, 9 years ago
1 3807 9 years ago
Archive · by Muut Archive, 9 years ago
3 1799 9 years ago