New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Problem with embed codes

Started by rontakias, May 14, 2016, 04:47:06 PM

Previous topic - Next topic

rontakias

For wordpress.
I cannot publish post with embed code to content... :-\ :-\
plz help!

devnull



Open a SSH session to your server and the file /usr/local/apache/logs/error_log
if it is blocked by Mod Security

For example with tail -1000 /usr/local/apache/logs/error_log | grep ModSecurity

If it is blocked you will see a rule id which you can whitelist


Or you can login to the Panel > Goto Security > Mod Security . You will see the last 20 lines of the log.
Copy the matching rule id

and add it in  Disabled Rules --> /usr/local/apache/conf/mod_sec_disabled_rules.conf  (you can just click the link in the mod security section)
Add the rule id in the file SecRuleRemoveById  [the rule id you found] and click save changes.




iqbalthakur

THAKUR