Yoast generated robots.txt not in file directory

[ad_1]

Hi

I’m having some problems with the robots.txt file.

I want to disallow my website from being indexed as it is under development. I’m using yoast SEO which appears to have generated the robots.txt file. however, i cant edit it from within the plugin.

If i create a robots.txt file in the file manager its not overwriting the one that yoast SEO is generating?

I have seen on the wordpress support there is a line of code that disallows file editing.

define( 'DISALLOW_FILE_EDIT', true );

However this line of code doesn’t exist where it should be to prevent file editing? can anyone help me with this, i seem to be stuck in a loop!

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer