Author Topic: ModSecurity adds index.php in permalinks  (Read 3272 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Re: ModSecurity adds index.php in permalinks
« Reply #30 on: September 20, 2018, 11:14:37 AM »
Hi guys,

Code: [Select]
sed -i 's|.*SecServerSignature "CentOS WebPanel: Protected by Mod Security".*||g' /usr/local/apache/conf.d/mod_security.conf
service httpd restart

The above code fixed my problem. Htaccess is now being written by Wordpress. Many thanks for the tip!