Support

Home Forums Event Espresso Premium Custom CSS and iThemes 403 errors [solution]

Custom CSS and iThemes 403 errors [solution]

Posted: June 27, 2016 at 11:10 am


cv

June 27, 2016 at 11:10 am

Hope this helps!

After much head scratching we found that using iThemes security plugin with the blacklist setting enabled, prevents custom css from being loaded when using an example …as found here…

https://github.com/eventespresso/event-espresso-core/blob/master/docs/I–Filter-and-Action-Hooks-in-EE/FHEE__EE_Messages_Template_Pack__get_variation.md

The problem is that the request for the file by PHP is made with no-useragent which is one of the items blocked in the blacklist.

Solution: in your htaccess ABOVE their blacklist code and outside their delimiters – just add the below 2 lines which will ignore that rule. Deleting that line from your htaccess will only be temporary until the plugin rewrites it so the rule is the way forward.

RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule ^ - [L]


Seth Shoultes

  • Support Staff

June 28, 2016 at 11:45 am

Thanks for sharing!

The support post ‘Custom CSS and iThemes 403 errors [solution]’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso