Robots.txt
How to add a robots.txt file to your Elewments Project
Last updated
Was this helpful?
How to add a robots.txt file to your Elewments Project
Last updated
Was this helpful?
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).
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.
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.