Block robots.txt and .htaccess file editing from WordPress admin

Since SEOPress 2.1.8

To block robots.txt file editing from SEO -> PRO -> Robots, copy and paste this to your wp-config.php:

define('SEOPRESS_BLOCK_ROBOTS', true);

To block .htaccess file editing from SEO -> PRO -> htaccess, copy and paste this to your wp-config.php:

define('SEOPRESS_BLOCK_HTACCESS', true);

Last modified: April 1, 2018

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...