• Resolved Conor

    (@jrocbaby)


    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]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Yoast generated robots.txt not in file directory’ is closed to new replies.