Estimated time to execute: 25 to 30 minutes
Aim: To edit or add a robots.txt file in WordPress for controlling search engine crawlers’ access to your website.
Optimal Outcome: The robots.txt file is properly added to WordPress website without any issues or technical errors.
What do you need to start: You must have a WordPress website and backend access.
Why is this SOP Important: Adding a robots.txt file to a WordPress website is important because it helps control how search engines crawl and index the website’s pages.
When and where to execute: This SOP may be used whenever you need to set up your website for the first time. It can also be done as needed to add or modify information continuously.
Who Should Be Doing This: The person in charge of website administration or analytics.
The robots.txt file instructs search engine bots, also known as crawlers, on which pages to request from your online website. Every WordPress website comes with a set of robots by default. txt file optimized for Search Engine Optimization (SEO). Search engines utilize your sitemap to rank your online website in the search results.
A robots.txt file is a small text file that resides in the root directory of a website and provides instructions to search engine robots, also known as crawlers or spiders, on which pages should or should not be crawled or indexed.
javascriptCopy code
User-agent: * Disallow: /wp-admin/ Allow: /wp-admin/admin-ajax.php
Conclusion: Creating and maintaining a well-structured robots.txt file is essential for ensuring that search engine crawlers access your WordPress website as intended. Follow this SOP to make necessary edits or additions to your robots.txt file, and regularly review and update it to meet your SEO goals and website requirements
2. Add the link of the site you want to test and click Continue.
3. Go to the bottom of the page and type any Link into the URL box before clicking the red TEST button.
4. Congratulations. You have successfully added robot.txt files. To ensure that everything is crawlable, you must see an Allowed green font result.
You’re done! Keep in mind that Adding a robots.txt file to a WordPress website is important because it helps control how search engines crawl and index the website’s pages. A robots.txt file is a small text file that resides in the root directory of a website and provides instructions to search engine robots, also known as crawlers or spiders, on which pages should or should not be crawled or indexed.
In a WordPress website, the robots.txt file can be used to:
Overall, adding a robots.txt file to a WordPress website can help ensure that the website is crawled and indexed more efficiently and effectively, while also helping to protect sensitive information and prevent duplicate content issues.
Execution Checklist: