• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

WP Thinker

The WordPress Playground

  • Snippets
  • Best
  • Guides
  • Reviews
Home / SEO

October 22, 2018 Muhammed Swalih

How to Edit robots.txt through Yoast SEO Plugin?

robots-txt

Robots.txt tell search robots which pages you would like them not to visit. The bots won’t go to those restricted areas anymore. Normally, the WP-Content areas and Plugin areas in your websites are blocking the search bots to secure the files or to avoid unwanted indexing. There are several situations where you need to edit your robots.txt file for a better configuration or to Allow or Disallow the bots access from a specific area of your website. To edit the robots.txt file, you don’t need to do anything more if you have the Yoast SEO plugin installed on your WordPress website.

In this article on “How to edit robots.txt through Yoast SEO Plugin?” we are teaching you to easily edit the robots.txt file of your website using the Yoast SEO plugin. So, let’s have a look at it.

How to edit robots.txt through Yoast SEO Plugin?

Follow the simple steps given below to edit the robots.txt file using the Yoast SEO plugin.

  1. Login to your WordPress Dashboard.
    SEO-Yoast-1
  2. Go to SEO then Tools tab on the left sidebar.
    Yoast-SEO-2
  3. Click on File Editor option.
    Yoast-seo-edit-robots-txt
  4. Now, you will be shown a window where you can edit your robots.txt.
  5. Make Necessary changes and save it.
  6. Now, the robots.txt of your website is successfully edited

Note: Be careful when making changes to the robots.txt file of your website. As it can control the crawlers, the misconfigurations can harm your website. If you are not aware of what you are going to do, don’t edit it.

If you don’t have a Robots.txt file on your website, Create one

  1. Create an Empty text file named as robots.txt using your favorite text editor.
  2. Upload it to your server root folder.
  3. Then, you can edit the file using the Yoast SEO Plugin or Directly using an FTP software.

If you face any problems related to the file uploading, contact the hosting support team. They may help you to resolve the issue.

Avatar for Muhammed Swalih

Muhammed Swalih

A WordPress expert who has been tweaking WordPress functions, plugins, themes and almost everything related to WordPress for the past 5+ years.

Primary Sidebar

Related Articles

Footer

WP Thinker is a website that publishes everything related to WordPress, Plugins, Themes, SEO, Blogging, etc.

  • Facebook
  • Twitter
  • Pinterest

Copyright © 2023 · WP Thinker

  • About Us
  • Advertise
  • Write for Us
  • Privacy Policy
  • Terms and Conditions
  • Contact Us
This website uses cookies to serve you better. By continuing to use this website, you agree to our cookie and Privacy Policy.