Problem/Motivation

Currently the robots.txt explicitly allows images. But it does not for WEBP and AVIF

Allow: /profiles/*.gif
Allow: /profiles/*.jpg
Allow: /profiles/*.jpeg
Allow: /profiles/*.png
Allow: /profiles/*.svg
# Directories

Steps to reproduce

Proposed resolution

Lets add them!

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3574657

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mherchel created an issue. See original summary.

mherchel’s picture

Assigned: Unassigned » mherchel

Saving this for a newbie at Florida DrupalCamp 2026 (this Sunday). Please refrain from working on this :D

mherchel’s picture

Issue tags: +fldc26

jitka_pilar made their first commit to this issue’s fork.

jitka_pilar’s picture

Status: Active » Needs review
darren oh’s picture

Assigned: mherchel » Unassigned
Status: Needs review » Reviewed & tested by the community

Tests pass and both the scaffold and the root robots.txt are updated.

  • lauriii committed fdc94d70 on main
    fix: #3574657 Robots.txt should explicitly allow WEBP and AVIF images...

  • lauriii committed 81945f6f on 11.x
    fix: #3574657 Robots.txt should explicitly allow WEBP and AVIF images...
lauriii’s picture

Status: Reviewed & tested by the community » Fixed

Good catch! Committed. Thank you folks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.