Please stop creating robots.txt
-
This plugin helps, but creating
robots.txt
on the server and it prohibit other plugins to customizerobots.txt
. For example, you cannot even add sitemap: record.In
calss-wpie-general.php
, this tries to add filter torobots_txt
hook, but it’s still inis_admin()
block. That means no effect.To stop generating
robots.txt
, you need removing hook.// Some where in your theme or after plugins_loaded action if ( class_exists( 'wpie\core\WPIE_General' ) ) { remove_action( 'admin_init', [ 'wpie\core\WPIE_General', 'update_file_security' ] ); }
I hope the plugin author changing mind to generate dynamic
robots.txt
.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Please stop creating robots.txt’ is closed to new replies.