• Resolved mrhuynhanh

    (@mrhuynhanh)


    I installed Yoast on WordPress Multisite and found that there’s no File Editor in SEO > Tools menu.

    I already added this line to wp-config.php (although it doesn’t have before):
    define('DISALLOW_FILE_EDIT', false);

    I cleared Litespeed and Cloudflare caches also, but still missing File Editor link.

    I installed Yoast on another WordPress single, it do have File Editor link.

    Is File Editor function disabled on WordPress Multisite?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support devnihil

    (@devnihil)

    Can you please confirm you are using the most recent Yoast v12.4? You can learn more about updating here: https://kb.yoast.com/kb/how-can-i-update-my-free-plugin/

    Can you confirm you are using WordPress 5.2.4? You can check by clicking on the W in the top left and selecting About. If you need to update, please check with your host provider. Please know that if you are using an older version of WordPress Core you may experience unexpected behavior with Yoast. This guide explains more: https://yoast.com/why-we-dont-support-old-wordpress-versions/
    ?
    ?If you update to the most current version of WordPress, does this resolve the issue with the File Editor not appearing?

    Also, can you please confirm whether define('DISALLOW_FILE_MODS', true); is present in your wp-config.php file? This will also disable the file editor from appearing under SEO>Tools.

    Thread Starter mrhuynhanh

    (@mrhuynhanh)

    It doesn’t work although I added 2 lines in wp-config.php

    define('DISALLOW_FILE_EDIT', false);
    define('DISALLOW_FILE_MODS', false);

    I’m using WordPress 5.2.4 and Yoast 12.4

    Pcosta88

    (@pcosta88)

    Hi,

    Can you confirm you have installed the plugin at the Network Level rather than at the individual site level? In our testing if you network activated the plugin and then went to SEO-Edit Files you can have options to edit a robots.txt and htaccess.

    See image: https://pasteboard.co/IGmaS0a.png

    Thread Starter mrhuynhanh

    (@mrhuynhanh)

    I activated Yoast on individual site. Now I activate on Network and I can see the option to edit robots.txt

    But there’s a new problem: when I create new robots.txt file, it do create a physical file on root directory, not virtual file and all subsites use the same robots.txt

    Is this a new bug?

    Pcosta88

    (@pcosta88)

    Hi,

    Yoast is not able to output a robots.txt file on an individual subsite in a multisite network. A single robots.txt file is only expected to appear at the root level. All sites will use this single robots.txt file.

    However, we thank you for suggesting a new feature for one of our plugins. We’re not working on it at the moment but we’ll create a feature request for adding robots txt to individual sites when the plugin has been network activated, so our developers can consider this when planning updates. We’ve added you to the list to be contacted.

    In the meantime, we suggest signing up for our newsletter as that is where we will announce product changes and updates. You can sign-up for it here https://yoast.com/newsletter/.

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Is there no File Editor with WordPress Multisite?’ is closed to new replies.