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

0 Members and 1 Guest are viewing this topic.

Offline
*
ModSecurity adds index.php in permalinks
« on: July 19, 2017, 07:09:26 AM »
Hello
I am running CWP, and installed modsecurity COMODO
After that WordPress permalinks added an index.php in URL
Is this normal?
How get rid this and fix it?

Offline
*
Re: ModSecurity adds index.php in permalinks
« Reply #1 on: July 21, 2017, 07:11:24 AM »
mod_security is only application firewall and its not related with this issue.
You should check in the admin area of your wordpress how you have this set, don't forget to check that you have wordpress htaccess file in your wordpress folder.

https://codex.wordpress.org/htaccess
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: ModSecurity adds index.php in permalinks
« Reply #2 on: June 12, 2018, 07:45:01 AM »
Hello,

Following on this topic, I have an issue with Mod Security and Wordpress. I am using Comodo WAF rules, and everything works great, except the fact that Wordpress is unable to write .htaccess file. I have to add everything manually in .htaccess.

If I disable Mod Security, everything returns to normal.

Any ideas?

cheers!