Create hook_robotstxt_alter()

Created on 25 September 2017, about 7 years ago
Updated 10 May 2024, 7 months ago

Problem/Motivation

Currently, if any modules wants to add anything in the robots.txt file, they can use existing hook_robotstxt(). But if anyone wants to alter or even add any robots.txt lines before the content coming from the robotstxt modules interface, they can't do it.

Proposed resolution

Create hook_robotstxt_alter().

Remaining tasks

Implement.

User interface changes

None.

API changes

New hook.

Data model changes

None.

✨ Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bappa.sarkar New York, NY

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024