We noticed on at least two websites that there is a warning when using the URL inspection tool within Google Search Console.
Specifically this is the warning shown on all pages:
Googlebot blocked by robots.txt Stylesheet https://[DOMAIN].com/plugins/system/jce/css/content.css?badb4208be409b1335b815dde676300e
Version Information:
JCE Editor (used as global editor): 2.9.29
Theme: Yootheme Pro 2.7.22
Joomla: 3.10.10
PHP: 7.4.x
Please advise why JCE resources are being blocked by robots.txt. We see that /plugins/ is blocked, but shouldn't that resource be stored elsewhere to avoid being blocked (e.g. media folder)?
Robots.txt output:
# If the Joomla site is installed within a folder
# eg www.example.com/joomla/ then the robots.txt file
# MUST be moved to the site root
# eg www.example.com/robots.txt
# AND the joomla folder name MUST be prefixed to all of the
# paths.
# eg the Disallow rule for the /administrator/ folder MUST
# be changed to read
# Disallow: /joomla/administrator/
#
# For more information about the robots.txt standard, see:
# https://www.robotstxt.org/orig.html
User-agent: *
Disallow: /administrator/
Disallow: /bin/
Disallow: /cache/
Disallow: /cli/
Disallow: /components/
Disallow: /includes/
Disallow: /installation/
Disallow: /language/
Disallow: /layouts/
Disallow: /libraries/
Disallow: /logs/
Disallow: /modules/
Disallow: /plugins/
Disallow: /tmp/
Specifically this is the warning shown on all pages:
Googlebot blocked by robots.txt Stylesheet https://[DOMAIN].com/plugins/system/jce/css/content.css?badb4208be409b1335b815dde676300e
Version Information:
JCE Editor (used as global editor): 2.9.29
Theme: Yootheme Pro 2.7.22
Joomla: 3.10.10
PHP: 7.4.x
Please advise why JCE resources are being blocked by robots.txt. We see that /plugins/ is blocked, but shouldn't that resource be stored elsewhere to avoid being blocked (e.g. media folder)?
Robots.txt output:
# If the Joomla site is installed within a folder
# eg www.example.com/joomla/ then the robots.txt file
# MUST be moved to the site root
# eg www.example.com/robots.txt
# AND the joomla folder name MUST be prefixed to all of the
# paths.
# eg the Disallow rule for the /administrator/ folder MUST
# be changed to read
# Disallow: /joomla/administrator/
#
# For more information about the robots.txt standard, see:
# https://www.robotstxt.org/orig.html
User-agent: *
Disallow: /administrator/
Disallow: /bin/
Disallow: /cache/
Disallow: /cli/
Disallow: /components/
Disallow: /includes/
Disallow: /installation/
Disallow: /language/
Disallow: /layouts/
Disallow: /libraries/
Disallow: /logs/
Disallow: /modules/
Disallow: /plugins/
Disallow: /tmp/