3 ms·
Doesn't that break admin-ajax.php access? It sits behind /wp-admin/. WordPress recommends allowing access when using IP whitelists. Apache: # Allow access t
by SHIT_TALKER 11y ago
Doesn't that break admin-ajax.php access? It sits behind /wp-admin/. WordPress recommends allowing access when using IP whitelists.
Apache:
# Allow access to wp-admin/admin-ajax.php
<Files admin-ajax.php>
Order allow,deny
Allow from all
Satisfy any
</Files>
Nginx:
location /wp-admin/admin-ajax.php {
allow all;
}
- jakejake 11y agoAh, interesting. I guess their theme didn't use any ajax features. But, to be safe I updated my gist to exclude that file.