wiki/content/20201112124832-automatic_search_engine_protection.md

21 lines
425 B
Markdown
Raw Permalink Normal View History

2024-05-06 20:40:05 +00:00
---
2024-10-30 17:34:11 +00:00
date: 2020-11-12
2024-05-06 20:40:05 +00:00
id: c6744b2e-f845-4ac7-83d5-ef206743e4a6
title: Automatic Search Engine Protection
---
# Description
Symfony dissalows search engine indexing for development applications. A
`X-Robots-Tag: noindex` HTTP header is added to all responses. This can
be manually overridden in the config.
# Syntax
``` yaml
# config/packages/framework.yaml
framework:
# ...
disallow_search_engine_index: false
```