Use our free tool to instantly generate an SEO-optimized robots.txt file with built-in pagination exclusion and proper sitemap paths. Just enter your website URL below to get started.
Robots.txt & Sitemap Generator
Generate a search-optimized configuration file for your website instantly.
How to Add This to Blogger (Blogspot)
- Log in to your Blogger Dashboard.
- Go to Settings from the left menu.
- Scroll down to the Crawlers and indexing section.
- Turn on the toggle for Enable custom robots.txt.
- Click on Custom robots.txt, paste the code you generated from our tool, and click Save.
- Go to your WordPress Dashboard and click on Rank Math > General Settings.
- Click on the Edit robots.txt tab.
- Paste your generated code into the text area and click Save Changes.
- Go to Yoast SEO > Tools in your dashboard.
- Click on the File editor link.
- Look for the robots.txt section, paste your code there, and click Save changes to robots.txt.
- Open Notepad on your computer, paste the generated code, and save the file as
robots.txt. - Log in to your hosting cPanel and open the File Manager.
- Go to the
public_htmlfolder (root directory) of your website. - Click Upload and select the
robots.txtfile you just saved.
How to Add This to WordPress
You can add this file to your WordPress site using an SEO plugin or via cPanel: