Skip to content

Instantly share code, notes, and snippets.

View mattbrett's full-sized avatar

Matt Brett mattbrett

View GitHub Profile
@mattbrett
mattbrett / .htaccess Fix for WordPress Upload HTTP Error
Last active October 1, 2015 16:27
Place this in an .htaccess file in the wp-admin directory, and the pods plugin directory if needed.
AuthType Basic
AuthName share
Satisfy Any
Order deny,allow
Allow from all
<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off