Skip to main content

All Questions

Tagged with
5 votes
2 answers
2k views

Protect wp-admin while whitelisting admin-ajax.php

I want to allow only my IP address to access wp-admin but at the same time don't want the calls to admin-ajax.php be blocked. So I want to whitelist admin-ajax.php. Does the following code in ....
ishchat's user avatar
  • 51
2 votes
1 answer
5k views

Cross-Origin Request Blocked. Wordpress Plugin Not Working

We have a Wordpress website, hosted by GoDaddy. Before we went "live" we had it located at staging.coiski.com (wordpress was installed in a folder called /staging), and then when we went "live" we ...
Jon Zmikly's user avatar
0 votes
2 answers
7k views

admin-ajax.php - block htaccess

I need htaccess rewrite to block request if don't have GET=action or POST=action. If somebody run example.com/wp-admin/admin-ajax.php then he will see error 404. I think that this should have ...
unknown's user avatar
  • 107