Hi Greg,
This is to stop cross domain scripting, http/https and www. v non www. are thought of as different domains, you have to tell the script that it’s ok to accept requests from these other domains. I have not tested this but i think this should work, let me know either way:
add this to your child theme functions file
add_action('wp_ajax_geodir_ajax_action', "geodir_ajax_origin_allow");
add_action( 'wp_ajax_nopriv_geodir_ajax_action', 'geodir_ajax_origin_allow' );
function geodir_ajax_origin_allow(){
header('Access-Control-Allow-Origin: http://www.animalequity.org');
}
P.S. I just noticed one domain says .org and one .dev, this could be just a local hosts issue? I’m not exactly sure of ur setup here, if you could explain i could help better, or you might also have to add this line below the first header.
header('Access-Control-Allow-Origin: http://www.animalequity.dev');
Thanks,
Stiofan