Email info@story-it.com / Call Now! +880 1935 071 478
Email info@story-it.com / Call Now! +880 1935 071 478

How to Write a Robots.txt File in Yoast Seo : A robots.txt file is a text file that is used to give instructions to web robots (also known as spiders or crawlers) about which pages or files on your site should not be accessed or indexed.

How to Write a Robots.txt File in Yoast Seo is place in the root directory of your website. And it is use to prevent search engines from accessing certain parts of your site. That you don’t want to beindexed.

Using the Yoast SEO plugin for WordPress, you can easily create and manage a robots.txt file for your site. The plugin will create a default file for you, which includes instructions to disallow access to the /wp-admin/ directory and allow access to the /wp-admin/admin-ajax.php file. You can edit the file to add any additional rules that you want. Such as disallowing access to specific pages or directories on your site.

It’s important to note that the robots.txt file is only a suggestion to web robots, and is not a guarantee that they will follow the instructions. Some web robots may choose to ignore the robots.txt file and crawl your site anyway. However, most reputable search engines will respect the instructions in the robots.txt file.

To create a robots.txt file using the Yoast SEO plugin for WordPress, follow these steps:

  1. In the WordPress dashboard, go to SEO > Tools.
  2. Under the “File editor” tab, click the “Create robots.txt file” button.
  3. The Yoast SEO plugin will create a default robots.txt file for you, which looks like this:
  1. You can edit the file to add any additional rules that you want. For example, if you want to block search engines from accessing certain pages or directories on your site, you can add a Disallow rule for those pages.
  2. When you are finishe editing the file, click the “Save changes” button to save your changes.

Note: The robots.txt file is used to give instructions to web robots (also known as spiders or crawlers) about which pages or files on your site should not be crawled. It is important to note that this file is only a suggestion to . The web robots and is not a guarantee that they will follow the instructions.

Leave a Reply