Hello @golded
Thanks for choosing Yoast SEO. It 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.
You can create or edit the robots.txt file in the WordPress admin under Yoast SEO > Tools > File editor. Since 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. Alternatively, you can always create or edit the file at the server level.
Thread Starter
golded
(@golded)
hi, yes but justly, my question is how to enable it ?
regards
Please speak with your web hosting provider.
Thread Starter
golded
(@golded)
it’s not a probleme with my web hosting provider because on an other website on the same hosting, i can edit it.
Strange
Hi @golded
It is possible that your WordPress install has disabled file editing. Please contact your web host and ask them why you are unable to create and edit the robots.txt file for your site.
Thread Starter
golded
(@golded)
it’s possible they said me.