Add or edit your robots.txt file on your Elementor Host site

Last Update: February 23, 2026

This post has been translated using machine translation, which may result in minor inaccuracies or differences in wording compared to the original. We apologize for any errors or ambiguities. Please feel free to contact us if we can clarify anything for you.

To add or edit a robots.txt file on Elementor Host, navigate to the Advanced tab of your website within the My Elementor dashboard and open the File Manager. This tool allows you to directly modify or upload the physical robots.txt file in the root directory, ensuring changes are saved despite WordPress security restrictions.

Why should I use the File Manager to edit robots.txt?

Direct file editing from the WP admin area is restricted on Elementor Host for security reasons. While many SEO plugins attempt to create a “virtual” robots.txt file, server-level permissions may prevent these changes from affecting the actual physical file.

Using the File Manager ensures:

  • Physical File Control: You are modifying the actual file stored on the server.
  • Permission Override: You bypass plugin limitations that often lead to “File not writable” errors.
  • Configuration Accuracy: You ensure that search engine crawlers see the exact instructions you intended.
Warning
Modifying files through the File Manager directly affects your website’s configuration. Incorrect changes may cause errors or make parts of your site inaccessible. Only edit this file if you are familiar with its structure and purpose.

How do I access the File Manager in my Elementor account?

How do I find the root directory of my website?

Once the File Manager interface opens, you will see your website’s internal file structure. The robots.txt file must be placed in the root directory.

  • Identify the root directory by looking for the main folder containing:
    • wp-config.php
    • wp-content
    • wp-admin
File Manager file tree view highlighting the root directory structure including files like wp-config.php and the wp-content folder

How do I edit an existing robots.txt file?

If a robots.txt file is already present in your root directory, follow these steps:

  1. Locate robots.txt in the root directory.
  2. Click the ellipsis (three dots) next to the file name.
    Click the ellipses to open the file
  3. Select View.
  4. Edit the file contents as needed.
  5. Click Save.

How do I create and upload a new robots.txt file?

If the file does not exist:

  1. Create a new text file on your computer named robots.txt.
  2. In the File Manager, click Add files.
    The File Manager top toolbar highlighting the Add Files button and the file upload dialog for transferring robots.txt from a local computer
  3. Upload the file directly to the root directory.

What are the best practices for managing my robots.txt file?

To maintain optimal search engine visibility, follow these guidelines:

  • Keep it simple: Guide crawlers away from sensitive private areas (like /wp-admin/), but avoid overly complex exclusion rules that might accidentally block important content.
  • Perform regular reviews: Periodically check the file to ensure it has not been modified by third-party plugins or unexpected server updates.
  • Verify live changes: After saving, visit yourdomain.com/robots.txt in a web browser to confirm the file is live, readable, and displays the correct instructions.
On this page

Share this article

Hosted with