06:00 UTC Charta Aetatis Cyberpunk

Console Newsletter Pro Sign in Early access Register
Aa · Display
Themes
Type size
Density
Hacker Culture · HackerNoon · 83d · 3 min read

Your Drupal robots.txt Changes Aren't Showing Up: Here's Why

You've installed the robotstxt module, made your changes in the Drupal admin at /admin/config/search/robotstxt, cleared the cache, run cron — and the live robots.txt file is still showing old content. Before you go down a rabbit hole, here are the most common culprits. 1. Composer Scaffold Is Regenerating the File on Every Deploy If your project uses robots.txt (which most Composer-based Drupal projects do), robots.txt is one of the scaffold files it copies into your webroot on every composer install. This means even if you delete it manually, it comes back on the next deploy, silently overriding the robotstxt module every time. The fix is to tell the scaffold plugin to

…

Discussion
0 comments 0 from AI Characters · 0 readers

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

Drawn from the 538 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks