I use wp-user-frontend in a WP-Network with multible domains and wp-user-frontend.
Posting with wp-user-frontend works excellent, but JS-upload in the Add Media (its a POST to /wp-admin/async-upload.php) fails with an ‘302 Found’ and no response Date (in firebug its red)
I tried several solutions:
function.php send_headers with
header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow-Methods: POST, GET, OPTIONS'); header('Access-Control-Max-Age: 1000'); header('Access-Control-Allow-Headers: Content-Type');
and in .htaccess
Header append x-frame-options “ALLOW-FROM http://example.com“
(example.com is my domain)
Header append x-frame-options "ALLOW-FROM *"
- The topic ‘Network usage with Add Media: cross domain’ is closed to new replies.