Skip to content Skip to navigation
Back to the main support

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.txt tab, copy and paste this to your wp-config.php:

define('SEOPRESS_BLOCK_ROBOTS', true);

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

define('SEOPRESS_BLOCK_HTACCESS', true);