# Robots.txt File

The **Robots.txt File** feature determines whether search engines receive a robots.txt file from the CDN and which source the file is taken from. This allows you to enable crawling for all files or defer crawling rules to your origin.

You can manage **Robots.txt File** settings in the [Medianova Control Panel](https://cloud.medianova.com) or via [API](https://clients.medianova.com/api-documentation/performance-cdn/caching#put-api-v1-cdn-organization_uuid-resource-resource_uuid-7).

Log in to the Medianova Control Panel, select a CDN resource in the CDN section, and navigate to the **Caching** tab.

## Configure Robots.txt File

Choose how the CDN should provide the robots.txt file for the selected resource.

{% stepper %}
{% step %}
**Select the Robots.txt File Mode**

Choose **Disabled**, **Enabled**, or **Origin** from the dropdown.

**Mode Behaviors**

**Disabled** — No robots.txt file is served.\
**Enabled** — MN CDN serves its default robots.txt file, allowing crawlers to index all content.\
**Origin** — CDN fetches and serves the robots.txt file from your origin.
{% endstep %}

{% step %}
**Save the Configuration**

Click **Submit** to apply the selected robots.txt behavior.
{% endstep %}
{% endstepper %}

<figure><img src="https://clients.medianova.com/__attachments/2515111014/image%20(5).png?inst-v=b951364f-998c-42f5-99c8-65d87945d391" alt=""><figcaption></figcaption></figure>

* **Enabled** mode always serves MN CDN’s default robots.txt content.\
  Customers cannot upload or configure a custom robots.txt file through the Panel.
* **Origin** mode delegates full control to your origin server.
* Changes propagate immediately but may take a short time to be reflected across all PoPs.

## FAQ

**Does Medianova allow uploading a custom robots.txt file?**\
No. In **Enabled** mode, the CDN serves a predefined robots.txt file that allows all crawling. To use a custom file, select **Origin** mode and host the file on your origin.

**What happens if my origin has no robots.txt file but I choose Origin mode?**\
The CDN will return `404 Not Found`, and search engines will proceed as if no robots.txt file exists.

**Does robots.txt affect CDN caching?**\
No. It only controls search engine bot behavior and does not interact with cache rules.

[<br>](https://clients.medianova.com/docs/how-can-i-change-my-medianovas-panel-password)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://clients.medianova.com/products/performance-cdn/static-content-delivery/advanced-configuration/caching/robots.txt-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
