Hello @grahamg,
Thanks for using the Yoast SEO plugin. It indeed includes the ability to?create and edit the robots.txt?file for your site when your site meets the following requirements:
- Enable file editing, which is the default option for most WordPress installs
- Set server-level permissions to allow writing to files, specifically the robots.txt file.
As you do not see the option to create or edit the file, WordPress has?disabled file editing, or your server doesn’t allow writing to the file. Your web host can help you enable these features if you want to use Yoast SEO to edit the robots.txt file.
To enable the file editing, you need to contact your hosting provider or developer for assistance because you need to edit the?wp-config.php?file using FTP due to the following directive being contained in your?wp-config.php?file:
define( 'DISALLOW_FILE_EDIT', true );