Skip to content

Added robots-denied.txt to always block *.statik.be domains#595

Open
janhenckens wants to merge 1 commit intodevelopfrom
feature/default-robots-for-statik-domain
Open

Added robots-denied.txt to always block *.statik.be domains#595
janhenckens wants to merge 1 commit intodevelopfrom
feature/default-robots-for-statik-domain

Conversation

@janhenckens
Copy link
Member

In htaccess hebben we volgende regel staan voor staging & productie:

  # Set a seperate robots to all .statik domains
  RewriteCond %{HTTP_HOST} ^(^.*)\.statik.be$
  RewriteRule ^robots\.txt$ robots-denied.txt [L]

Dat zou er voor moeten zorgen dat elke url me ".statik.be" een aparte robots krijgt, om indexering te voorkomen.
Alleen bestaat die aparte robots niet meer. Ik heb niet uitgezocht hoe dat komt of sinds wanneer het stuk is, maar dit voegt het in ieder geval terug toe.

@janhenckens janhenckens marked this pull request as ready for review February 27, 2026 15:06
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant