Get upto 80% discount on Rocket fast SSD hostings, Click here

robots.txt file for wordpress – Download

A robots.txt file is used to control and manage the way search engines crawl and index your website. Here are ideal examples for WordPress

For a WordPress site, a common robots.txt might look like this:

User-agent: *
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /wp-content/plugins/
Disallow: /wp-content/cache/
Disallow: /wp-content/themes/
Disallow: /trackback/
Disallow: /cgi-bin/
Disallow: /xmlrpc.php
Disallow: /feed/
Disallow: /comments/
Disallow: /category/*/feed/
Allow: /wp-content/uploads/
Sitemap: https://example.com/sitemap.xml

Download this file – make sure to replace your own website sitemap’s URL.

Please follow and like us:

Leave a Comment

Your email address will not be published. Required fields are marked *