wiki/content/20201112124832-automatic_search_engine_protection.md

20 lines
425 B
Markdown

---
date: 2020-11-12
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
```