Robots.txt
How to add a robots.txt file to your Elewments Project
A robots.txt file tells search engine crawlers which parts of your website they can or can’t access. It sits at the root of your domain (e.g. https://example.com/robots.txt).
To add a robots.txt file in Elements:
Right-click in the Page List area of your project window and choose New File.
A new file named untitled.html will appear — rename it to robots.txt.
Double-click the file to edit its contents, and add any robots.txt directives you need.
This file will be published to the root of your website, making it accessible to search engines at https://yourdomain.com/robots.txt.

Example robots.txt file:
You can use this on your own site, just don’t forget to change the domain name to ensure you're pointing to your own sitemap.
User-agent: *
Allow: /
Sitemap: https://example.com/sitemap.xml
Last updated
Was this helpful?