{"id":5541,"date":"2021-06-02T09:18:25","date_gmt":"2021-06-02T09:18:25","guid":{"rendered":"https:\/\/www.dopinger.com\/blog\/?p=5541"},"modified":"2024-04-04T12:34:02","modified_gmt":"2024-04-04T12:34:02","slug":"how-to-create-robots-txt-file","status":"publish","type":"post","link":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file","title":{"rendered":"How to Create Robots.txt File"},"content":{"rendered":"\n<p>The robots.txt file makes search engine bots more efficient when looking at the SEO of your site. A good metaphor is that the robots.txt file helps point google to where you want them to go, like a signpost to your content. This article will show you how to create robots.txt files to optimize your website&#8217;s SEO and increase traffic. Historically, robots.txt sites have slightly better SEO and web traffic than websites not using robots.txt files.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"960\" height=\"480\" src=\"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2024\/04\/create-the-robot-txt-file.jpg\" alt=\"Create the File Robots.txt File\" class=\"wp-image-22999\" srcset=\"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2024\/04\/create-the-robot-txt-file.jpg 960w, https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2024\/04\/create-the-robot-txt-file-768x384.jpg 768w\" sizes=\"(max-width: 960px) 100vw, 960px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Create_the_File\"><\/span>1. Create the File<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Begin by creating a .txt file using notepad or any text editing software, saving the new file as &#8216;robots&#8217; all in lowercase.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Add_Lines_of_Text_to_the_File\"><\/span>2. Add Lines of Text to the File<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Type the following two lines of text to the robots.txt file you just saved:<\/p>\n\n\n\n<p>User-agent: *<\/p>\n\n\n\n<p>Disallow:&nbsp;<\/p>\n\n\n\n<p>The * shows the robots checking your site that this line of the text applies to all of them.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Use_the_Disallow_Lines_to_Direct_the_Bots_Search\"><\/span>3. Use the Disallow Lines to Direct the Bot&#8217;s Search<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Using the disallow lines to limit the parts of your site where the Google bots are allowed to scan, you can make the SEO more efficient by cutting out any pages that you don&#8217;t want them to focus on, leaving them to go directly to your content. An example of a disallow line could be:<\/p>\n\n\n\n<p>Disallow: \/database\/<\/p>\n\n\n\n<p>Cutting out the database section of your site and helping streamline the search of your site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_Save_the_robotstxt_File_to_Your_Website\"><\/span>4. Save the robots.txt File to Your Website<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The final step is to save the newly created robots.txt file to the root directory of your website. Navigate to the root directory of your website hosting server and then save the robots.txt file there.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"640\" height=\"640\" src=\"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2021\/06\/structure-and-content.png\" alt=\"structure and content of a robotstxt file\" class=\"wp-image-5543\"\/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_Structure_and_Content_of_a_robotstxt_File\"><\/span>The Structure and Content of a robots.txt File<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>There are two elements to the robots.txt file. Firstly, you must name the user agent. After that, you give the commands of which directories on your site should be read or ignored. The sitemap.xml file of your site may be stored in the robots.txt file to ensure that the crawler calls the whole site. Below is the proper structure of a robots.txt file:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The command that addresses the bot comes first.<\/li>\n<\/ul>\n\n\n\n<p>User-agent:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After User-agent: you can either name each bot individually or use an asterisk * to include all bots.<\/li>\n\n\n\n<li>Next comes the command lines. Disallow: This is for preventing certain areas from being accessed by the bots. While the Allow: Command allows access to the listed areas.<\/li>\n<\/ul>\n\n\n\n<p>Below are a few sample robots.txt files:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Sample 1:<\/h3>\n\n\n\n<p>User-agent: seobot<\/p>\n\n\n\n<p>Disallow: \/nothere\/<\/p>\n\n\n\n<p>In this example, the bot named &#8216;seobot&#8217; will not crawl the folder http:\/\/www.test.com\/nothere\/ and all following subdirectories.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"960\" height=\"480\" src=\"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2024\/04\/structure-and-content-of-a-robots-txt-file.jpg\" alt=\"The Structure and Content of a robots.txt File\" class=\"wp-image-23001\" srcset=\"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2024\/04\/structure-and-content-of-a-robots-txt-file.jpg 960w, https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2024\/04\/structure-and-content-of-a-robots-txt-file-768x384.jpg 768w\" sizes=\"(max-width: 960px) 100vw, 960px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\">Sample 2:<\/h3>\n\n\n\n<p>User-agent: *<\/p>\n\n\n\n<p>Allow: \/<\/p>\n\n\n\n<p>In this example, all user agents can access the entire site. However, the bots will search the whole site anyway unless there is a disallow command, so the Allow: \/ command is unnecessary.<\/p>\n\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\">     <\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Sample 3:<\/h3>\n\n\n\n<p>User-agent: seobot<\/p>\n\n\n\n<p>Disallow: \/directory2\/<\/p>\n\n\n\n<p>Disallow: \/ directory3\/<\/p>\n\n\n\n<p>In this example, the bot names &#8216;seobot&#8217; informs that it cannot view directories 2 and 3. Notice how each Disallow: command must be on a separate line.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"640\" height=\"640\" src=\"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2021\/06\/other-instructions-of-robotstxt.png\" alt=\"other instructions of robotstxt file\" class=\"wp-image-5544\"\/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Other_Instructions_a_robotstxt_File_Can_Use\"><\/span>Other Instructions a robots.txt File Can Use<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>We have mentioned a few command instructions above. Here is a descriptive list of instructions;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>User-agent: Used to name the bots you wish to give commands. Using the * to allow all agents to follow the commands.<\/li>\n\n\n\n<li>Disallow: Instructs bots not to access any directories that are under the designated file path. \/ the slash refers to all pages on the site, so Disallow: \/ would prevent bots from accessing any page.<\/li>\n\n\n\n<li>Allow: By default, every page on the site is marked as allow access. However, it can be used to give access to specific file paths even if previously blocked by the Disallow: command. This function is helpful if you want to block access to a subdomain and access a particular page within that blocked subdomain.<\/li>\n\n\n\n<li>Sitemap: Used to provide the location of your sitemap to the search engine bots.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_Does_a_robotstxt_File_Affect_Search_Engine_Optimization\"><\/span>How Does a robots.txt File Affect Search Engine Optimization?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>If used properly, a robots.txt file can significantly impact search engine optimization (SEO). It is vital not to restrict the search engine bots too much with the disallow command. If they are too limited, it will have a negative result for the rank of your web pages. Before saving your file to the root directory, it is essential to check for any errors. If there is an error, it could mean that crucial areas of your site are not included or that areas intended to be ignored are included. <\/p>\n\n\n\n<p>Google has a handy tool to check that your robots.txt file is working correctly. Use Google Search Console, as it will list any blocked pages from your disallow instructions under the headings of &#8216;current status&#8217; and &#8216;<a href=\"https:\/\/www.dopinger.com\/blog\/fix-submitted-url-has-crawl-issue\" target=\"_blank\" rel=\"noreferrer noopener\">crawl errors<\/a>.&#8217; The main benefit of using robots.txt is that you are ensuring that your site is fully indexed by the search engines that visit it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Advantages_of_Using_a_robotstxt_on_Your_Website\"><\/span>Advantages of Using a robots.txt on Your Website<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The search engine spiders that function to index websites on the internet have a predetermined allowance for the number of pages they can crawl, known as a <a href=\"https:\/\/www.dopinger.com\/blog\/google-crawl\" target=\"_blank\" rel=\"noreferrer noopener\">crawl budget<\/a>. The main advantage of a robots.txt file is that it allows you to block them from various parts of the site and focus on the more SEO friendly sections. For example, if your site sells t-shirts in many colours and sizes, each one has a valid URL for the bot to crawl. By blocking these, the bot can focus on the main important pages and skip over the multiple colours and sizes sections when you disallow that area. So if you create robots.txt for your site, you can benefit from these advantages.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"640\" height=\"640\" src=\"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2021\/06\/disadvantages-of-using-a-robotstxt.png\" alt=\"disadvantages of robotstxt\" class=\"wp-image-5545\"\/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Disadvantages_of_Using_a_robotstxt_File\"><\/span>Disadvantages of Using a robots.txt File<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Search engines are not obligated to follow the commands provided in a robots.txt file. So in the future, the robots.txt file may get ignored entirely. Another downside is that even if you disallow a section of your website, it will be indexed into the search results regardless of the robots.txt file if there are enough links found to that section. Meaning that the Google result for that page will look blank because the bots aren&#8217;t allowed to view it, but they are aware it is there. The robots.txt file offers no protection from other people either, even though it is highly recommended to use password protection with the webserver. If you worry about these, you may not create robots.txt file for your site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Concluding_robotstxt_File\"><\/span>Concluding robots.txt File<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>We have explained how to create robots.txt file. Overall, a robots.txt file is easy to create and implement and can help boost SEO friendliness as well as increasing web traffic for your site. The fact that search engines may ignore the file entirely in the future does not take away the benefits of implementing the file today. The fact that a tiny file may help to direct search engines to specific areas of your site is too big an opportunity to ignore. Hopefully, you have enjoyed reading this article and learned something about robots.txt files and how to use them. If you want to learn <a href=\"https:\/\/www.dopinger.com\/blog\/what-is-robots-txt\">what robots.txt file<\/a> is, we have a more detailed article about it as well.<\/p>\n\n    <div class=\"container m-0 p-0 pm-faq\">\n            <h2 class=\"accordion-title\"><span class=\"ez-toc-section\" id=\"Frequently_Asked_Questions_About\"><\/span>Frequently Asked Questions About <span class=\"ez-toc-section-end\"><\/span><\/h2>\n        <div class=\"faq accordion faq-drop\" id=\"accordion\">\n            <div class=\"col-md-12 faq-card m-0 p-0\">\n                    <div class=\"card faq\">\n                        <div class=\"card-header collapsed d-flex justify-content-between align-items-center d-flex\" id=\"heading0\"\n                             data-toggle=\"collapse\" data-target=\"#collapse_0\" aria-expanded=\"true\" role=\"button\"\n                             aria-controls=\"collapse_0\">\n                            Do I need a robots.txt File for my WordPress Site?\n                            <svg class=\"close\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                              <path d=\"M12.0002 23.6663C9.69272 23.6663 7.43709 22.9821 5.51851 21.7002C3.59994 20.4182 2.1046 18.5961 1.22157 16.4643C0.338551 14.3325 0.107512 11.9867 0.557673 9.72362C1.00783 7.46051 2.11898 5.38171 3.75059 3.7501C5.3822 2.11849 7.461 1.00735 9.72411 0.557185C11.9872 0.107024 14.333 0.338063 16.4648 1.22108C18.5966 2.10411 20.4187 3.59945 21.7006 5.51803C22.9826 7.4366 23.6668 9.69223 23.6668 11.9997C23.6668 15.0939 22.4377 18.0613 20.2497 20.2493C18.0618 22.4372 15.0944 23.6663 12.0002 23.6663ZM12.0002 2.27746C10.0773 2.27746 8.1976 2.84766 6.59879 3.91595C4.99998 4.98424 3.75386 6.50264 3.01801 8.27914C2.28215 10.0556 2.08962 12.0105 2.46476 13.8964C2.83989 15.7823 3.76584 17.5146 5.12552 18.8743C6.48519 20.234 8.21753 21.16 10.1035 21.5351C11.9894 21.9102 13.9442 21.7177 15.7207 20.9818C17.4972 20.246 19.0156 18.9999 20.0839 17.4011C21.1522 15.8022 21.7224 13.9226 21.7224 11.9997C21.7224 9.42118 20.6981 6.9483 18.8748 5.12503C17.0515 3.30176 14.5787 2.27746 12.0002 2.27746Z\" fill=\"#4266FF\"\/>\n                              <path d=\"M12.0001 18.1566C11.7432 18.1533 11.4979 18.0497 11.3163 17.8681C11.1347 17.6865 11.0312 17.4412 11.0278 17.1844V6.81402C11.0278 6.55617 11.1303 6.30888 11.3126 6.12655C11.4949 5.94423 11.7422 5.8418 12.0001 5.8418C12.2579 5.8418 12.5052 5.94423 12.6875 6.12655C12.8698 6.30888 12.9723 6.55617 12.9723 6.81402V17.1844C12.9689 17.4412 12.8654 17.6865 12.6838 17.8681C12.5022 18.0497 12.2569 18.1533 12.0001 18.1566Z\" fill=\"#4266FF\"\/>\n                              <path d=\"M17.1854 12.9718H6.815C6.55715 12.9718 6.30986 12.8694 6.12753 12.687C5.9452 12.5047 5.84277 12.2574 5.84277 11.9996C5.84277 11.7417 5.9452 11.4944 6.12753 11.3121C6.30986 11.1298 6.55715 11.0273 6.815 11.0273H17.1854C17.4432 11.0273 17.6905 11.1298 17.8728 11.3121C18.0552 11.4944 18.1576 11.7417 18.1576 11.9996C18.1576 12.2574 18.0552 12.5047 17.8728 12.687C17.6905 12.8694 17.4432 12.9718 17.1854 12.9718Z\" fill=\"#4266FF\"\/>\n                            <\/svg>\n                            <svg class=\"open\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                              <path d=\"M12.0002 23.6663C9.69272 23.6663 7.43709 22.9821 5.51851 21.7002C3.59994 20.4182 2.1046 18.5961 1.22157 16.4643C0.338551 14.3325 0.107512 11.9867 0.557673 9.72362C1.00783 7.46051 2.11898 5.38171 3.75059 3.7501C5.3822 2.11849 7.461 1.00735 9.72411 0.557185C11.9872 0.107024 14.333 0.338063 16.4648 1.22108C18.5966 2.10411 20.4187 3.59945 21.7006 5.51803C22.9826 7.4366 23.6668 9.69223 23.6668 11.9997C23.6668 15.0939 22.4377 18.0613 20.2497 20.2493C18.0618 22.4372 15.0944 23.6663 12.0002 23.6663ZM12.0002 2.27746C10.0773 2.27746 8.1976 2.84766 6.59879 3.91595C4.99998 4.98424 3.75386 6.50264 3.01801 8.27914C2.28215 10.0556 2.08962 12.0105 2.46476 13.8964C2.83989 15.7823 3.76584 17.5146 5.12552 18.8743C6.48519 20.234 8.21753 21.16 10.1035 21.5351C11.9894 21.9102 13.9442 21.7177 15.7207 20.9818C17.4972 20.246 19.0156 18.9999 20.0839 17.4011C21.1522 15.8022 21.7224 13.9226 21.7224 11.9997C21.7224 9.42118 20.6981 6.9483 18.8748 5.12503C17.0515 3.30176 14.5787 2.27746 12.0002 2.27746Z\" fill=\"#EF4444\"\/>\n                              <path d=\"M5.84241 11.9996C5.84577 11.7428 5.94928 11.4974 6.13088 11.3158C6.31249 11.1342 6.55783 11.0307 6.81464 11.0273L17.185 11.0273C17.4429 11.0273 17.6901 11.1298 17.8725 11.3121C18.0548 11.4944 18.1572 11.7417 18.1572 11.9996C18.1572 12.2574 18.0548 12.5047 17.8725 12.687C17.6901 12.8694 17.4429 12.9718 17.185 12.9718L6.81464 12.9718C6.55783 12.9684 6.31249 12.8649 6.13088 12.6833C5.94928 12.5017 5.84577 12.2564 5.84241 11.9996Z\" fill=\"#EF4444\"\/>\n                              <path d=\"M17.1854 12.9718H6.815C6.55715 12.9718 6.30986 12.8694 6.12753 12.687C5.9452 12.5047 5.84277 12.2574 5.84277 11.9996C5.84277 11.7417 5.9452 11.4944 6.12753 11.3121C6.30986 11.1298 6.55715 11.0273 6.815 11.0273H17.1854C17.4432 11.0273 17.6905 11.1298 17.8728 11.3121C18.0552 11.4944 18.1576 11.7417 18.1576 11.9996C18.1576 12.2574 18.0552 12.5047 17.8728 12.687C17.6905 12.8694 17.4432 12.9718 17.1854 12.9718Z\" fill=\"#EF4444\"\/>\n                            <\/svg>\n                        <\/div>\n                        <div id=\"collapse_0\" class=\"collapse\" aria-labelledby=\"heading0\" data-parent=\"#accordion\">\n                            <div class=\"card-body\">\n                                <p>No, there is no need to use a robots.txt file. However, it can help your site be more SEO friendly and increase website traffic.<\/p>\n                            <\/div>\n                        <\/div>\n                        <\/div>\n                        \n                    <div class=\"card faq\">\n                        <div class=\"card-header collapsed d-flex justify-content-between align-items-center d-flex\" id=\"heading1\"\n                             data-toggle=\"collapse\" data-target=\"#collapse_1\" aria-expanded=\"true\" role=\"button\"\n                             aria-controls=\"collapse_1\">\n                            Where should I save the robots.txt file?\n                            <svg class=\"close\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                              <path d=\"M12.0002 23.6663C9.69272 23.6663 7.43709 22.9821 5.51851 21.7002C3.59994 20.4182 2.1046 18.5961 1.22157 16.4643C0.338551 14.3325 0.107512 11.9867 0.557673 9.72362C1.00783 7.46051 2.11898 5.38171 3.75059 3.7501C5.3822 2.11849 7.461 1.00735 9.72411 0.557185C11.9872 0.107024 14.333 0.338063 16.4648 1.22108C18.5966 2.10411 20.4187 3.59945 21.7006 5.51803C22.9826 7.4366 23.6668 9.69223 23.6668 11.9997C23.6668 15.0939 22.4377 18.0613 20.2497 20.2493C18.0618 22.4372 15.0944 23.6663 12.0002 23.6663ZM12.0002 2.27746C10.0773 2.27746 8.1976 2.84766 6.59879 3.91595C4.99998 4.98424 3.75386 6.50264 3.01801 8.27914C2.28215 10.0556 2.08962 12.0105 2.46476 13.8964C2.83989 15.7823 3.76584 17.5146 5.12552 18.8743C6.48519 20.234 8.21753 21.16 10.1035 21.5351C11.9894 21.9102 13.9442 21.7177 15.7207 20.9818C17.4972 20.246 19.0156 18.9999 20.0839 17.4011C21.1522 15.8022 21.7224 13.9226 21.7224 11.9997C21.7224 9.42118 20.6981 6.9483 18.8748 5.12503C17.0515 3.30176 14.5787 2.27746 12.0002 2.27746Z\" fill=\"#4266FF\"\/>\n                              <path d=\"M12.0001 18.1566C11.7432 18.1533 11.4979 18.0497 11.3163 17.8681C11.1347 17.6865 11.0312 17.4412 11.0278 17.1844V6.81402C11.0278 6.55617 11.1303 6.30888 11.3126 6.12655C11.4949 5.94423 11.7422 5.8418 12.0001 5.8418C12.2579 5.8418 12.5052 5.94423 12.6875 6.12655C12.8698 6.30888 12.9723 6.55617 12.9723 6.81402V17.1844C12.9689 17.4412 12.8654 17.6865 12.6838 17.8681C12.5022 18.0497 12.2569 18.1533 12.0001 18.1566Z\" fill=\"#4266FF\"\/>\n                              <path d=\"M17.1854 12.9718H6.815C6.55715 12.9718 6.30986 12.8694 6.12753 12.687C5.9452 12.5047 5.84277 12.2574 5.84277 11.9996C5.84277 11.7417 5.9452 11.4944 6.12753 11.3121C6.30986 11.1298 6.55715 11.0273 6.815 11.0273H17.1854C17.4432 11.0273 17.6905 11.1298 17.8728 11.3121C18.0552 11.4944 18.1576 11.7417 18.1576 11.9996C18.1576 12.2574 18.0552 12.5047 17.8728 12.687C17.6905 12.8694 17.4432 12.9718 17.1854 12.9718Z\" fill=\"#4266FF\"\/>\n                            <\/svg>\n                            <svg class=\"open\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                              <path d=\"M12.0002 23.6663C9.69272 23.6663 7.43709 22.9821 5.51851 21.7002C3.59994 20.4182 2.1046 18.5961 1.22157 16.4643C0.338551 14.3325 0.107512 11.9867 0.557673 9.72362C1.00783 7.46051 2.11898 5.38171 3.75059 3.7501C5.3822 2.11849 7.461 1.00735 9.72411 0.557185C11.9872 0.107024 14.333 0.338063 16.4648 1.22108C18.5966 2.10411 20.4187 3.59945 21.7006 5.51803C22.9826 7.4366 23.6668 9.69223 23.6668 11.9997C23.6668 15.0939 22.4377 18.0613 20.2497 20.2493C18.0618 22.4372 15.0944 23.6663 12.0002 23.6663ZM12.0002 2.27746C10.0773 2.27746 8.1976 2.84766 6.59879 3.91595C4.99998 4.98424 3.75386 6.50264 3.01801 8.27914C2.28215 10.0556 2.08962 12.0105 2.46476 13.8964C2.83989 15.7823 3.76584 17.5146 5.12552 18.8743C6.48519 20.234 8.21753 21.16 10.1035 21.5351C11.9894 21.9102 13.9442 21.7177 15.7207 20.9818C17.4972 20.246 19.0156 18.9999 20.0839 17.4011C21.1522 15.8022 21.7224 13.9226 21.7224 11.9997C21.7224 9.42118 20.6981 6.9483 18.8748 5.12503C17.0515 3.30176 14.5787 2.27746 12.0002 2.27746Z\" fill=\"#EF4444\"\/>\n                              <path d=\"M5.84241 11.9996C5.84577 11.7428 5.94928 11.4974 6.13088 11.3158C6.31249 11.1342 6.55783 11.0307 6.81464 11.0273L17.185 11.0273C17.4429 11.0273 17.6901 11.1298 17.8725 11.3121C18.0548 11.4944 18.1572 11.7417 18.1572 11.9996C18.1572 12.2574 18.0548 12.5047 17.8725 12.687C17.6901 12.8694 17.4429 12.9718 17.185 12.9718L6.81464 12.9718C6.55783 12.9684 6.31249 12.8649 6.13088 12.6833C5.94928 12.5017 5.84577 12.2564 5.84241 11.9996Z\" fill=\"#EF4444\"\/>\n                              <path d=\"M17.1854 12.9718H6.815C6.55715 12.9718 6.30986 12.8694 6.12753 12.687C5.9452 12.5047 5.84277 12.2574 5.84277 11.9996C5.84277 11.7417 5.9452 11.4944 6.12753 11.3121C6.30986 11.1298 6.55715 11.0273 6.815 11.0273H17.1854C17.4432 11.0273 17.6905 11.1298 17.8728 11.3121C18.0552 11.4944 18.1576 11.7417 18.1576 11.9996C18.1576 12.2574 18.0552 12.5047 17.8728 12.687C17.6905 12.8694 17.4432 12.9718 17.1854 12.9718Z\" fill=\"#EF4444\"\/>\n                            <\/svg>\n                        <\/div>\n                        <div id=\"collapse_1\" class=\"collapse\" aria-labelledby=\"heading1\" data-parent=\"#accordion\">\n                            <div class=\"card-body\">\n                                <p>You should always save the robots.txt file in the root directory of your domain. From our earlier example, you should find your robots.txt file at https:\/\/www.test.com\/robots.txt. The filename is case sensitive and must always be lowercase; otherwise, it will not work.<\/p>\n                            <\/div>\n                        <\/div>\n                        <\/div>\n                        \n                    <div class=\"card faq\">\n                        <div class=\"card-header collapsed d-flex justify-content-between align-items-center d-flex\" id=\"heading2\"\n                             data-toggle=\"collapse\" data-target=\"#collapse_2\" aria-expanded=\"true\" role=\"button\"\n                             aria-controls=\"collapse_2\">\n                            How do I include my sitemap in a robots.txt?\n                            <svg class=\"close\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                              <path d=\"M12.0002 23.6663C9.69272 23.6663 7.43709 22.9821 5.51851 21.7002C3.59994 20.4182 2.1046 18.5961 1.22157 16.4643C0.338551 14.3325 0.107512 11.9867 0.557673 9.72362C1.00783 7.46051 2.11898 5.38171 3.75059 3.7501C5.3822 2.11849 7.461 1.00735 9.72411 0.557185C11.9872 0.107024 14.333 0.338063 16.4648 1.22108C18.5966 2.10411 20.4187 3.59945 21.7006 5.51803C22.9826 7.4366 23.6668 9.69223 23.6668 11.9997C23.6668 15.0939 22.4377 18.0613 20.2497 20.2493C18.0618 22.4372 15.0944 23.6663 12.0002 23.6663ZM12.0002 2.27746C10.0773 2.27746 8.1976 2.84766 6.59879 3.91595C4.99998 4.98424 3.75386 6.50264 3.01801 8.27914C2.28215 10.0556 2.08962 12.0105 2.46476 13.8964C2.83989 15.7823 3.76584 17.5146 5.12552 18.8743C6.48519 20.234 8.21753 21.16 10.1035 21.5351C11.9894 21.9102 13.9442 21.7177 15.7207 20.9818C17.4972 20.246 19.0156 18.9999 20.0839 17.4011C21.1522 15.8022 21.7224 13.9226 21.7224 11.9997C21.7224 9.42118 20.6981 6.9483 18.8748 5.12503C17.0515 3.30176 14.5787 2.27746 12.0002 2.27746Z\" fill=\"#4266FF\"\/>\n                              <path d=\"M12.0001 18.1566C11.7432 18.1533 11.4979 18.0497 11.3163 17.8681C11.1347 17.6865 11.0312 17.4412 11.0278 17.1844V6.81402C11.0278 6.55617 11.1303 6.30888 11.3126 6.12655C11.4949 5.94423 11.7422 5.8418 12.0001 5.8418C12.2579 5.8418 12.5052 5.94423 12.6875 6.12655C12.8698 6.30888 12.9723 6.55617 12.9723 6.81402V17.1844C12.9689 17.4412 12.8654 17.6865 12.6838 17.8681C12.5022 18.0497 12.2569 18.1533 12.0001 18.1566Z\" fill=\"#4266FF\"\/>\n                              <path d=\"M17.1854 12.9718H6.815C6.55715 12.9718 6.30986 12.8694 6.12753 12.687C5.9452 12.5047 5.84277 12.2574 5.84277 11.9996C5.84277 11.7417 5.9452 11.4944 6.12753 11.3121C6.30986 11.1298 6.55715 11.0273 6.815 11.0273H17.1854C17.4432 11.0273 17.6905 11.1298 17.8728 11.3121C18.0552 11.4944 18.1576 11.7417 18.1576 11.9996C18.1576 12.2574 18.0552 12.5047 17.8728 12.687C17.6905 12.8694 17.4432 12.9718 17.1854 12.9718Z\" fill=\"#4266FF\"\/>\n                            <\/svg>\n                            <svg class=\"open\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                              <path d=\"M12.0002 23.6663C9.69272 23.6663 7.43709 22.9821 5.51851 21.7002C3.59994 20.4182 2.1046 18.5961 1.22157 16.4643C0.338551 14.3325 0.107512 11.9867 0.557673 9.72362C1.00783 7.46051 2.11898 5.38171 3.75059 3.7501C5.3822 2.11849 7.461 1.00735 9.72411 0.557185C11.9872 0.107024 14.333 0.338063 16.4648 1.22108C18.5966 2.10411 20.4187 3.59945 21.7006 5.51803C22.9826 7.4366 23.6668 9.69223 23.6668 11.9997C23.6668 15.0939 22.4377 18.0613 20.2497 20.2493C18.0618 22.4372 15.0944 23.6663 12.0002 23.6663ZM12.0002 2.27746C10.0773 2.27746 8.1976 2.84766 6.59879 3.91595C4.99998 4.98424 3.75386 6.50264 3.01801 8.27914C2.28215 10.0556 2.08962 12.0105 2.46476 13.8964C2.83989 15.7823 3.76584 17.5146 5.12552 18.8743C6.48519 20.234 8.21753 21.16 10.1035 21.5351C11.9894 21.9102 13.9442 21.7177 15.7207 20.9818C17.4972 20.246 19.0156 18.9999 20.0839 17.4011C21.1522 15.8022 21.7224 13.9226 21.7224 11.9997C21.7224 9.42118 20.6981 6.9483 18.8748 5.12503C17.0515 3.30176 14.5787 2.27746 12.0002 2.27746Z\" fill=\"#EF4444\"\/>\n                              <path d=\"M5.84241 11.9996C5.84577 11.7428 5.94928 11.4974 6.13088 11.3158C6.31249 11.1342 6.55783 11.0307 6.81464 11.0273L17.185 11.0273C17.4429 11.0273 17.6901 11.1298 17.8725 11.3121C18.0548 11.4944 18.1572 11.7417 18.1572 11.9996C18.1572 12.2574 18.0548 12.5047 17.8725 12.687C17.6901 12.8694 17.4429 12.9718 17.185 12.9718L6.81464 12.9718C6.55783 12.9684 6.31249 12.8649 6.13088 12.6833C5.94928 12.5017 5.84577 12.2564 5.84241 11.9996Z\" fill=\"#EF4444\"\/>\n                              <path d=\"M17.1854 12.9718H6.815C6.55715 12.9718 6.30986 12.8694 6.12753 12.687C5.9452 12.5047 5.84277 12.2574 5.84277 11.9996C5.84277 11.7417 5.9452 11.4944 6.12753 11.3121C6.30986 11.1298 6.55715 11.0273 6.815 11.0273H17.1854C17.4432 11.0273 17.6905 11.1298 17.8728 11.3121C18.0552 11.4944 18.1576 11.7417 18.1576 11.9996C18.1576 12.2574 18.0552 12.5047 17.8728 12.687C17.6905 12.8694 17.4432 12.9718 17.1854 12.9718Z\" fill=\"#EF4444\"\/>\n                            <\/svg>\n                        <\/div>\n                        <div id=\"collapse_2\" class=\"collapse\" aria-labelledby=\"heading2\" data-parent=\"#accordion\">\n                            <div class=\"card-body\">\n                                <p>You should include your sitemap.xml file in the robots.txt file as it is considered good practice to do so. You can use the sitemap: command to reference your sitemap. Multiple sitemaps can be referenced in your robots.txt file. Make sure also to submit your sitemap through Google Search Console and Bing Webmaster Tools.<\/p>\n                            <\/div>\n                        <\/div>\n                        <\/div>\n                        \n                    <div class=\"card faq\">\n                        <div class=\"card-header collapsed d-flex justify-content-between align-items-center d-flex\" id=\"heading3\"\n                             data-toggle=\"collapse\" data-target=\"#collapse_3\" aria-expanded=\"true\" role=\"button\"\n                             aria-controls=\"collapse_3\">\n                            How do you find your site&#8217;s robots.txt file?\n                            <svg class=\"close\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                              <path d=\"M12.0002 23.6663C9.69272 23.6663 7.43709 22.9821 5.51851 21.7002C3.59994 20.4182 2.1046 18.5961 1.22157 16.4643C0.338551 14.3325 0.107512 11.9867 0.557673 9.72362C1.00783 7.46051 2.11898 5.38171 3.75059 3.7501C5.3822 2.11849 7.461 1.00735 9.72411 0.557185C11.9872 0.107024 14.333 0.338063 16.4648 1.22108C18.5966 2.10411 20.4187 3.59945 21.7006 5.51803C22.9826 7.4366 23.6668 9.69223 23.6668 11.9997C23.6668 15.0939 22.4377 18.0613 20.2497 20.2493C18.0618 22.4372 15.0944 23.6663 12.0002 23.6663ZM12.0002 2.27746C10.0773 2.27746 8.1976 2.84766 6.59879 3.91595C4.99998 4.98424 3.75386 6.50264 3.01801 8.27914C2.28215 10.0556 2.08962 12.0105 2.46476 13.8964C2.83989 15.7823 3.76584 17.5146 5.12552 18.8743C6.48519 20.234 8.21753 21.16 10.1035 21.5351C11.9894 21.9102 13.9442 21.7177 15.7207 20.9818C17.4972 20.246 19.0156 18.9999 20.0839 17.4011C21.1522 15.8022 21.7224 13.9226 21.7224 11.9997C21.7224 9.42118 20.6981 6.9483 18.8748 5.12503C17.0515 3.30176 14.5787 2.27746 12.0002 2.27746Z\" fill=\"#4266FF\"\/>\n                              <path d=\"M12.0001 18.1566C11.7432 18.1533 11.4979 18.0497 11.3163 17.8681C11.1347 17.6865 11.0312 17.4412 11.0278 17.1844V6.81402C11.0278 6.55617 11.1303 6.30888 11.3126 6.12655C11.4949 5.94423 11.7422 5.8418 12.0001 5.8418C12.2579 5.8418 12.5052 5.94423 12.6875 6.12655C12.8698 6.30888 12.9723 6.55617 12.9723 6.81402V17.1844C12.9689 17.4412 12.8654 17.6865 12.6838 17.8681C12.5022 18.0497 12.2569 18.1533 12.0001 18.1566Z\" fill=\"#4266FF\"\/>\n                              <path d=\"M17.1854 12.9718H6.815C6.55715 12.9718 6.30986 12.8694 6.12753 12.687C5.9452 12.5047 5.84277 12.2574 5.84277 11.9996C5.84277 11.7417 5.9452 11.4944 6.12753 11.3121C6.30986 11.1298 6.55715 11.0273 6.815 11.0273H17.1854C17.4432 11.0273 17.6905 11.1298 17.8728 11.3121C18.0552 11.4944 18.1576 11.7417 18.1576 11.9996C18.1576 12.2574 18.0552 12.5047 17.8728 12.687C17.6905 12.8694 17.4432 12.9718 17.1854 12.9718Z\" fill=\"#4266FF\"\/>\n                            <\/svg>\n                            <svg class=\"open\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                              <path d=\"M12.0002 23.6663C9.69272 23.6663 7.43709 22.9821 5.51851 21.7002C3.59994 20.4182 2.1046 18.5961 1.22157 16.4643C0.338551 14.3325 0.107512 11.9867 0.557673 9.72362C1.00783 7.46051 2.11898 5.38171 3.75059 3.7501C5.3822 2.11849 7.461 1.00735 9.72411 0.557185C11.9872 0.107024 14.333 0.338063 16.4648 1.22108C18.5966 2.10411 20.4187 3.59945 21.7006 5.51803C22.9826 7.4366 23.6668 9.69223 23.6668 11.9997C23.6668 15.0939 22.4377 18.0613 20.2497 20.2493C18.0618 22.4372 15.0944 23.6663 12.0002 23.6663ZM12.0002 2.27746C10.0773 2.27746 8.1976 2.84766 6.59879 3.91595C4.99998 4.98424 3.75386 6.50264 3.01801 8.27914C2.28215 10.0556 2.08962 12.0105 2.46476 13.8964C2.83989 15.7823 3.76584 17.5146 5.12552 18.8743C6.48519 20.234 8.21753 21.16 10.1035 21.5351C11.9894 21.9102 13.9442 21.7177 15.7207 20.9818C17.4972 20.246 19.0156 18.9999 20.0839 17.4011C21.1522 15.8022 21.7224 13.9226 21.7224 11.9997C21.7224 9.42118 20.6981 6.9483 18.8748 5.12503C17.0515 3.30176 14.5787 2.27746 12.0002 2.27746Z\" fill=\"#EF4444\"\/>\n                              <path d=\"M5.84241 11.9996C5.84577 11.7428 5.94928 11.4974 6.13088 11.3158C6.31249 11.1342 6.55783 11.0307 6.81464 11.0273L17.185 11.0273C17.4429 11.0273 17.6901 11.1298 17.8725 11.3121C18.0548 11.4944 18.1572 11.7417 18.1572 11.9996C18.1572 12.2574 18.0548 12.5047 17.8725 12.687C17.6901 12.8694 17.4429 12.9718 17.185 12.9718L6.81464 12.9718C6.55783 12.9684 6.31249 12.8649 6.13088 12.6833C5.94928 12.5017 5.84577 12.2564 5.84241 11.9996Z\" fill=\"#EF4444\"\/>\n                              <path d=\"M17.1854 12.9718H6.815C6.55715 12.9718 6.30986 12.8694 6.12753 12.687C5.9452 12.5047 5.84277 12.2574 5.84277 11.9996C5.84277 11.7417 5.9452 11.4944 6.12753 11.3121C6.30986 11.1298 6.55715 11.0273 6.815 11.0273H17.1854C17.4432 11.0273 17.6905 11.1298 17.8728 11.3121C18.0552 11.4944 18.1576 11.7417 18.1576 11.9996C18.1576 12.2574 18.0552 12.5047 17.8728 12.687C17.6905 12.8694 17.4432 12.9718 17.1854 12.9718Z\" fill=\"#EF4444\"\/>\n                            <\/svg>\n                        <\/div>\n                        <div id=\"collapse_3\" class=\"collapse\" aria-labelledby=\"heading3\" data-parent=\"#accordion\">\n                            <div class=\"card-body\">\n                                <p>If there is already a robots.txt file on your website, you can find it at https:\/\/www.yourdomain.com\/robots.txt. If you navigate to your URL and see the notepad text displayed, then you have a working robots.txt file already set up that you may edit if you wish.<\/p>\n                            <\/div>\n                        <\/div>\n                        <\/div>\n                        \n                    <div class=\"card faq\">\n                        <div class=\"card-header collapsed d-flex justify-content-between align-items-center d-flex\" id=\"heading4\"\n                             data-toggle=\"collapse\" data-target=\"#collapse_4\" aria-expanded=\"true\" role=\"button\"\n                             aria-controls=\"collapse_4\">\n                            Is there a way for me to generate a robots.txt file?\n                            <svg class=\"close\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                              <path d=\"M12.0002 23.6663C9.69272 23.6663 7.43709 22.9821 5.51851 21.7002C3.59994 20.4182 2.1046 18.5961 1.22157 16.4643C0.338551 14.3325 0.107512 11.9867 0.557673 9.72362C1.00783 7.46051 2.11898 5.38171 3.75059 3.7501C5.3822 2.11849 7.461 1.00735 9.72411 0.557185C11.9872 0.107024 14.333 0.338063 16.4648 1.22108C18.5966 2.10411 20.4187 3.59945 21.7006 5.51803C22.9826 7.4366 23.6668 9.69223 23.6668 11.9997C23.6668 15.0939 22.4377 18.0613 20.2497 20.2493C18.0618 22.4372 15.0944 23.6663 12.0002 23.6663ZM12.0002 2.27746C10.0773 2.27746 8.1976 2.84766 6.59879 3.91595C4.99998 4.98424 3.75386 6.50264 3.01801 8.27914C2.28215 10.0556 2.08962 12.0105 2.46476 13.8964C2.83989 15.7823 3.76584 17.5146 5.12552 18.8743C6.48519 20.234 8.21753 21.16 10.1035 21.5351C11.9894 21.9102 13.9442 21.7177 15.7207 20.9818C17.4972 20.246 19.0156 18.9999 20.0839 17.4011C21.1522 15.8022 21.7224 13.9226 21.7224 11.9997C21.7224 9.42118 20.6981 6.9483 18.8748 5.12503C17.0515 3.30176 14.5787 2.27746 12.0002 2.27746Z\" fill=\"#4266FF\"\/>\n                              <path d=\"M12.0001 18.1566C11.7432 18.1533 11.4979 18.0497 11.3163 17.8681C11.1347 17.6865 11.0312 17.4412 11.0278 17.1844V6.81402C11.0278 6.55617 11.1303 6.30888 11.3126 6.12655C11.4949 5.94423 11.7422 5.8418 12.0001 5.8418C12.2579 5.8418 12.5052 5.94423 12.6875 6.12655C12.8698 6.30888 12.9723 6.55617 12.9723 6.81402V17.1844C12.9689 17.4412 12.8654 17.6865 12.6838 17.8681C12.5022 18.0497 12.2569 18.1533 12.0001 18.1566Z\" fill=\"#4266FF\"\/>\n                              <path d=\"M17.1854 12.9718H6.815C6.55715 12.9718 6.30986 12.8694 6.12753 12.687C5.9452 12.5047 5.84277 12.2574 5.84277 11.9996C5.84277 11.7417 5.9452 11.4944 6.12753 11.3121C6.30986 11.1298 6.55715 11.0273 6.815 11.0273H17.1854C17.4432 11.0273 17.6905 11.1298 17.8728 11.3121C18.0552 11.4944 18.1576 11.7417 18.1576 11.9996C18.1576 12.2574 18.0552 12.5047 17.8728 12.687C17.6905 12.8694 17.4432 12.9718 17.1854 12.9718Z\" fill=\"#4266FF\"\/>\n                            <\/svg>\n                            <svg class=\"open\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                              <path d=\"M12.0002 23.6663C9.69272 23.6663 7.43709 22.9821 5.51851 21.7002C3.59994 20.4182 2.1046 18.5961 1.22157 16.4643C0.338551 14.3325 0.107512 11.9867 0.557673 9.72362C1.00783 7.46051 2.11898 5.38171 3.75059 3.7501C5.3822 2.11849 7.461 1.00735 9.72411 0.557185C11.9872 0.107024 14.333 0.338063 16.4648 1.22108C18.5966 2.10411 20.4187 3.59945 21.7006 5.51803C22.9826 7.4366 23.6668 9.69223 23.6668 11.9997C23.6668 15.0939 22.4377 18.0613 20.2497 20.2493C18.0618 22.4372 15.0944 23.6663 12.0002 23.6663ZM12.0002 2.27746C10.0773 2.27746 8.1976 2.84766 6.59879 3.91595C4.99998 4.98424 3.75386 6.50264 3.01801 8.27914C2.28215 10.0556 2.08962 12.0105 2.46476 13.8964C2.83989 15.7823 3.76584 17.5146 5.12552 18.8743C6.48519 20.234 8.21753 21.16 10.1035 21.5351C11.9894 21.9102 13.9442 21.7177 15.7207 20.9818C17.4972 20.246 19.0156 18.9999 20.0839 17.4011C21.1522 15.8022 21.7224 13.9226 21.7224 11.9997C21.7224 9.42118 20.6981 6.9483 18.8748 5.12503C17.0515 3.30176 14.5787 2.27746 12.0002 2.27746Z\" fill=\"#EF4444\"\/>\n                              <path d=\"M5.84241 11.9996C5.84577 11.7428 5.94928 11.4974 6.13088 11.3158C6.31249 11.1342 6.55783 11.0307 6.81464 11.0273L17.185 11.0273C17.4429 11.0273 17.6901 11.1298 17.8725 11.3121C18.0548 11.4944 18.1572 11.7417 18.1572 11.9996C18.1572 12.2574 18.0548 12.5047 17.8725 12.687C17.6901 12.8694 17.4429 12.9718 17.185 12.9718L6.81464 12.9718C6.55783 12.9684 6.31249 12.8649 6.13088 12.6833C5.94928 12.5017 5.84577 12.2564 5.84241 11.9996Z\" fill=\"#EF4444\"\/>\n                              <path d=\"M17.1854 12.9718H6.815C6.55715 12.9718 6.30986 12.8694 6.12753 12.687C5.9452 12.5047 5.84277 12.2574 5.84277 11.9996C5.84277 11.7417 5.9452 11.4944 6.12753 11.3121C6.30986 11.1298 6.55715 11.0273 6.815 11.0273H17.1854C17.4432 11.0273 17.6905 11.1298 17.8728 11.3121C18.0552 11.4944 18.1576 11.7417 18.1576 11.9996C18.1576 12.2574 18.0552 12.5047 17.8728 12.687C17.6905 12.8694 17.4432 12.9718 17.1854 12.9718Z\" fill=\"#EF4444\"\/>\n                            <\/svg>\n                        <\/div>\n                        <div id=\"collapse_4\" class=\"collapse\" aria-labelledby=\"heading4\" data-parent=\"#accordion\">\n                            <div class=\"card-body\">\n                                <p>Yes, many websites will generate robots.txt files for you. However, it is only a few lines of text, and anybody can create their own in a few minutes by following our simple robots.txt guide featured above.<\/p>\n                            <\/div>\n                        <\/div>\n                        <\/div>\n                        <\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>The robots.txt file makes search engine bots more efficient when looking at the SEO of your site. A good metaphor is that the robots.txt file helps point google to where you want them to go, like a signpost to your content. This article will show you how to create robots.txt [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":5542,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-5541","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical-seo","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Create Robots.txt File (The 4 Main Steps) - Dopinger<\/title>\n<meta name=\"description\" content=\"Create robots.txt files to navigate search engine crawlers to your more SEO-friendly pages. Get your site indexed in the best way.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create Robots.txt File (The 4 Main Steps) - Dopinger\" \/>\n<meta property=\"og:description\" content=\"Create robots.txt files to navigate search engine crawlers to your more SEO-friendly pages. Get your site indexed in the best way.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file\" \/>\n<meta property=\"og:site_name\" content=\"Dopinger Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dopingercom\/\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/margritaksu\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-02T09:18:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-04T12:34:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2021\/06\/how-to-create-robotstxt-file.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"960\" \/>\n\t<meta property=\"og:image:height\" content=\"640\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Margrit Aksu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@margritsays\" \/>\n<meta name=\"twitter:site\" content=\"@dopingercom\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Margrit Aksu\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file\"},\"author\":{\"name\":\"Margrit Aksu\",\"@id\":\"https:\/\/www.dopinger.com\/blog\/#\/schema\/person\/410ac996c6ed46b7410677588d47f8f2\"},\"headline\":\"How to Create Robots.txt File\",\"datePublished\":\"2021-06-02T09:18:25+00:00\",\"dateModified\":\"2024-04-04T12:34:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file\"},\"wordCount\":1490,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.dopinger.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#primaryimage\"},\"thumbnailUrl\":\"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2021\/06\/how-to-create-robotstxt-file.jpg\",\"articleSection\":[\"Technical SEO\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#respond\"]}]},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file\",\"url\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file\",\"name\":\"How to Create Robots.txt File (The 4 Main Steps) - Dopinger\",\"isPartOf\":{\"@id\":\"https:\/\/www.dopinger.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#primaryimage\"},\"thumbnailUrl\":\"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2021\/06\/how-to-create-robotstxt-file.jpg\",\"datePublished\":\"2021-06-02T09:18:25+00:00\",\"dateModified\":\"2024-04-04T12:34:02+00:00\",\"description\":\"Create robots.txt files to navigate search engine crawlers to your more SEO-friendly pages. Get your site indexed in the best way.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#breadcrumb\"},\"mainEntity\":[{\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625326060\"},{\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625336640\"},{\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625346357\"},{\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625356671\"},{\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625369408\"}],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#primaryimage\",\"url\":\"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2021\/06\/how-to-create-robotstxt-file.jpg\",\"contentUrl\":\"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2021\/06\/how-to-create-robotstxt-file.jpg\",\"width\":960,\"height\":640,\"caption\":\"how to create robots txt file\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.dopinger.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create Robots.txt File\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dopinger.com\/blog\/#website\",\"url\":\"https:\/\/www.dopinger.com\/blog\/\",\"name\":\"Dopinger Blog\",\"description\":\"Dopinger\",\"publisher\":{\"@id\":\"https:\/\/www.dopinger.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dopinger.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.dopinger.com\/blog\/#organization\",\"name\":\"Dopinger Blog\",\"url\":\"https:\/\/www.dopinger.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dopinger.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2022\/02\/dopinger-blog-logo.png\",\"contentUrl\":\"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2022\/02\/dopinger-blog-logo.png\",\"width\":157,\"height\":48,\"caption\":\"Dopinger Blog\"},\"image\":{\"@id\":\"https:\/\/www.dopinger.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/dopingercom\/\",\"https:\/\/x.com\/dopingercom\",\"https:\/\/www.instagram.com\/dopinger_com\/\",\"https:\/\/www.linkedin.com\/company\/dopingercom\/\",\"https:\/\/tr.pinterest.com\/dopingercom\/_saved\/\",\"https:\/\/www.youtube.com\/dopinger\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dopinger.com\/blog\/#\/schema\/person\/410ac996c6ed46b7410677588d47f8f2\",\"name\":\"Margrit Aksu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dopinger.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.dopinger.com\/blog\/wp-content\/uploads\/2022\/11\/margrit-aksu-96x96.png\",\"contentUrl\":\"https:\/\/www.dopinger.com\/blog\/wp-content\/uploads\/2022\/11\/margrit-aksu-96x96.png\",\"caption\":\"Margrit Aksu\"},\"description\":\"Margrit Aksu, a graduate of English Literature, is passionate about the English language. As she dived deeper into this language, writing, creating and editing articles became her passion. That's why she has been working as an SEO Content Editor at Dopinger digital marketing agency since 2021. Besides that, his witty YouTube videos about psychology or philosophy work perfectly to cheer him up after a tiring day. Margrit Aksu produces informative content on the Dopinger blog in her native English with the knowledge she has gained about SEO and Digital marketing studies.\",\"sameAs\":[\"https:\/\/www.dopinger.com\/blog\/author\/margrit-aksu\",\"https:\/\/www.facebook.com\/margritaksu\",\"https:\/\/www.instagram.com\/margritaksu\",\"https:\/\/www.linkedin.com\/in\/margrit-aksu-21252b146\",\"https:\/\/x.com\/margritsays\"],\"url\":\"https:\/\/www.dopinger.com\/blog\/author\/margrit-aksu\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625326060\",\"position\":1,\"url\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625326060\",\"name\":\"Do I need a robots.txt File for my WordPress Site?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"No, there is no need to use a robots.txt file. However, it can help your site be more SEO friendly and increase website traffic.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625336640\",\"position\":2,\"url\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625336640\",\"name\":\"Where should I save the robots.txt file?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"You should always save the robots.txt file in the root directory of your domain. From our earlier example, you should find your robots.txt file at https:\/\/www.test.com\/robots.txt. The filename is case sensitive and must always be lowercase; otherwise, it will not work.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625346357\",\"position\":3,\"url\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625346357\",\"name\":\"How do I include my sitemap in a robots.txt?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"You should include your sitemap.xml file in the robots.txt file as it is considered good practice to do so. You can use the sitemap: command to reference your sitemap. Multiple sitemaps can be referenced in your robots.txt file. Make sure also to submit your sitemap through Google Search Console and Bing Webmaster Tools.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625356671\",\"position\":4,\"url\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625356671\",\"name\":\"How do you find your site's robots.txt file?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"If there is already a robots.txt file on your website, you can find it at https:\/\/www.yourdomain.com\/<em>robots.txt. <\/em>If you navigate to your URL and see the notepad text displayed, then you have a working robots.txt file already set up that you may edit if you wish.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625369408\",\"position\":5,\"url\":\"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625369408\",\"name\":\"Is there a way for me to generate a robots.txt file?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes, many websites will generate robots.txt files for you. However, it is only a few lines of text, and anybody can create their own in a few minutes by following our simple robots.txt guide featured above.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create Robots.txt File (The 4 Main Steps) - Dopinger","description":"Create robots.txt files to navigate search engine crawlers to your more SEO-friendly pages. Get your site indexed in the best way.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file","og_locale":"en_US","og_type":"article","og_title":"How to Create Robots.txt File (The 4 Main Steps) - Dopinger","og_description":"Create robots.txt files to navigate search engine crawlers to your more SEO-friendly pages. Get your site indexed in the best way.","og_url":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file","og_site_name":"Dopinger Blog","article_publisher":"https:\/\/www.facebook.com\/dopingercom\/","article_author":"https:\/\/www.facebook.com\/margritaksu","article_published_time":"2021-06-02T09:18:25+00:00","article_modified_time":"2024-04-04T12:34:02+00:00","og_image":[{"width":960,"height":640,"url":"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2021\/06\/how-to-create-robotstxt-file.jpg","type":"image\/jpeg"}],"author":"Margrit Aksu","twitter_card":"summary_large_image","twitter_creator":"@margritsays","twitter_site":"@dopingercom","twitter_misc":{"Written by":"Margrit Aksu","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#article","isPartOf":{"@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file"},"author":{"name":"Margrit Aksu","@id":"https:\/\/www.dopinger.com\/blog\/#\/schema\/person\/410ac996c6ed46b7410677588d47f8f2"},"headline":"How to Create Robots.txt File","datePublished":"2021-06-02T09:18:25+00:00","dateModified":"2024-04-04T12:34:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file"},"wordCount":1490,"commentCount":0,"publisher":{"@id":"https:\/\/www.dopinger.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#primaryimage"},"thumbnailUrl":"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2021\/06\/how-to-create-robotstxt-file.jpg","articleSection":["Technical SEO"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#respond"]}]},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file","url":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file","name":"How to Create Robots.txt File (The 4 Main Steps) - Dopinger","isPartOf":{"@id":"https:\/\/www.dopinger.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#primaryimage"},"image":{"@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#primaryimage"},"thumbnailUrl":"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2021\/06\/how-to-create-robotstxt-file.jpg","datePublished":"2021-06-02T09:18:25+00:00","dateModified":"2024-04-04T12:34:02+00:00","description":"Create robots.txt files to navigate search engine crawlers to your more SEO-friendly pages. Get your site indexed in the best way.","breadcrumb":{"@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#breadcrumb"},"mainEntity":[{"@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625326060"},{"@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625336640"},{"@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625346357"},{"@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625356671"},{"@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625369408"}],"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#primaryimage","url":"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2021\/06\/how-to-create-robotstxt-file.jpg","contentUrl":"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2021\/06\/how-to-create-robotstxt-file.jpg","width":960,"height":640,"caption":"how to create robots txt file"},{"@type":"BreadcrumbList","@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dopinger.com\/blog"},{"@type":"ListItem","position":2,"name":"How to Create Robots.txt File"}]},{"@type":"WebSite","@id":"https:\/\/www.dopinger.com\/blog\/#website","url":"https:\/\/www.dopinger.com\/blog\/","name":"Dopinger Blog","description":"Dopinger","publisher":{"@id":"https:\/\/www.dopinger.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dopinger.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dopinger.com\/blog\/#organization","name":"Dopinger Blog","url":"https:\/\/www.dopinger.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dopinger.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2022\/02\/dopinger-blog-logo.png","contentUrl":"https:\/\/storage.googleapis.com\/dopingcloud\/blog\/en\/2022\/02\/dopinger-blog-logo.png","width":157,"height":48,"caption":"Dopinger Blog"},"image":{"@id":"https:\/\/www.dopinger.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dopingercom\/","https:\/\/x.com\/dopingercom","https:\/\/www.instagram.com\/dopinger_com\/","https:\/\/www.linkedin.com\/company\/dopingercom\/","https:\/\/tr.pinterest.com\/dopingercom\/_saved\/","https:\/\/www.youtube.com\/dopinger"]},{"@type":"Person","@id":"https:\/\/www.dopinger.com\/blog\/#\/schema\/person\/410ac996c6ed46b7410677588d47f8f2","name":"Margrit Aksu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dopinger.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/www.dopinger.com\/blog\/wp-content\/uploads\/2022\/11\/margrit-aksu-96x96.png","contentUrl":"https:\/\/www.dopinger.com\/blog\/wp-content\/uploads\/2022\/11\/margrit-aksu-96x96.png","caption":"Margrit Aksu"},"description":"Margrit Aksu, a graduate of English Literature, is passionate about the English language. As she dived deeper into this language, writing, creating and editing articles became her passion. That's why she has been working as an SEO Content Editor at Dopinger digital marketing agency since 2021. Besides that, his witty YouTube videos about psychology or philosophy work perfectly to cheer him up after a tiring day. Margrit Aksu produces informative content on the Dopinger blog in her native English with the knowledge she has gained about SEO and Digital marketing studies.","sameAs":["https:\/\/www.dopinger.com\/blog\/author\/margrit-aksu","https:\/\/www.facebook.com\/margritaksu","https:\/\/www.instagram.com\/margritaksu","https:\/\/www.linkedin.com\/in\/margrit-aksu-21252b146","https:\/\/x.com\/margritsays"],"url":"https:\/\/www.dopinger.com\/blog\/author\/margrit-aksu"},{"@type":"Question","@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625326060","position":1,"url":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625326060","name":"Do I need a robots.txt File for my WordPress Site?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"No, there is no need to use a robots.txt file. However, it can help your site be more SEO friendly and increase website traffic.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625336640","position":2,"url":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625336640","name":"Where should I save the robots.txt file?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"You should always save the robots.txt file in the root directory of your domain. From our earlier example, you should find your robots.txt file at https:\/\/www.test.com\/robots.txt. The filename is case sensitive and must always be lowercase; otherwise, it will not work.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625346357","position":3,"url":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625346357","name":"How do I include my sitemap in a robots.txt?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"You should include your sitemap.xml file in the robots.txt file as it is considered good practice to do so. You can use the sitemap: command to reference your sitemap. Multiple sitemaps can be referenced in your robots.txt file. Make sure also to submit your sitemap through Google Search Console and Bing Webmaster Tools.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625356671","position":4,"url":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625356671","name":"How do you find your site's robots.txt file?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"If there is already a robots.txt file on your website, you can find it at https:\/\/www.yourdomain.com\/<em>robots.txt. <\/em>If you navigate to your URL and see the notepad text displayed, then you have a working robots.txt file already set up that you may edit if you wish.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625369408","position":5,"url":"https:\/\/www.dopinger.com\/blog\/how-to-create-robots-txt-file#faq-question-1622625369408","name":"Is there a way for me to generate a robots.txt file?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Yes, many websites will generate robots.txt files for you. However, it is only a few lines of text, and anybody can create their own in a few minutes by following our simple robots.txt guide featured above.","inLanguage":"en-US"},"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.dopinger.com\/blog\/wp-json\/wp\/v2\/posts\/5541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dopinger.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dopinger.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dopinger.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dopinger.com\/blog\/wp-json\/wp\/v2\/comments?post=5541"}],"version-history":[{"count":5,"href":"https:\/\/www.dopinger.com\/blog\/wp-json\/wp\/v2\/posts\/5541\/revisions"}],"predecessor-version":[{"id":23003,"href":"https:\/\/www.dopinger.com\/blog\/wp-json\/wp\/v2\/posts\/5541\/revisions\/23003"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dopinger.com\/blog\/wp-json\/wp\/v2\/media\/5542"}],"wp:attachment":[{"href":"https:\/\/www.dopinger.com\/blog\/wp-json\/wp\/v2\/media?parent=5541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dopinger.com\/blog\/wp-json\/wp\/v2\/categories?post=5541"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dopinger.com\/blog\/wp-json\/wp\/v2\/tags?post=5541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}