Hi. I have a fresh install of WordPress multisite in its own directory. Primary blog — which works fine — is at the root. Subsites are directory-based. We are running no plugins and only default WP themes. .htaccess and wp-config.php mods have been copied and recopied directly from the Network Setup WP Dashboard.
The problem we’re experiencing is that subsite admins cannot insert media into their pages and posts. (Uploads are fine, but “Add Media” insertions fail.) Console inspection reveals that admin-ajax.php is not found on subsites; it appears WP is looking for it at http://site.edu/SUBSITE/wp-admin/admin-ajax.php instead of http://site.edu/wp-admin/admin-ajax.php or http://site.edu/wordpress/wp-admin/admin-ajax.php.
Hope this makes sense. I have no idea how to address this issue and need a solution ASAP for a training initiative that’s about to begin. Any suggestions? THANKS SO MUCH!
- The topic ‘admin-ajax.php not found when inserting media in directory-based subsites’ is closed to new replies.