Include fixes from core robots.txt in default robots.txt in module

Created on 21 January 2025, 2 months ago

Problem/Motivation

This file does not include more recent fixes like #3123285: Actually exclude user register, login, logout, and password pages from search results in robots.txt (current rules are broken) , #3271222: Include Disallow Oembed media links in the robots.txt file for better Drupal SEO or 📌 Update robots.txt with all README files core ships with RTBC .

Steps to reproduce

Don't allow core to scaffold it robots.txt file.
Install the robotstxt module.
The default config includes an outdated robots.txt file compared to core.

Proposed resolution

Backport the fixes to the module.
Another solution would be to use web/core/assets/scaffold/files/robots.txt directly.

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇫🇷France prudloff Lille

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024