UPLOADS constant not working in WordPress Multisite

I think that you’re saying that you have moved your “uploads” directory up a level such that it now exists within your installation root, alongside /wp-includes, wp-config.php, etc.? If so, you likely need to update the rewrite rules in your webserver configuration. By default, a multisite .htaccess configuration has a rule like RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 … Read more

External app using wp-load on subdomain

I think that’s getting triggered by wp-load being unable to identify which blog you’re on at load time. I’d try define( ‘SITE_ID_CURRENT_SITE’, 1 ); define( ‘BLOG_ID_CURRENT_SITE’, 1 ); before you include wp-load, looking up the correct IDs for domain.com/app/ from your wp_blogs table.

WordPress Multisite Sub Domains Admin Panels 404 Error

To clarify my comments (since comments don’t lend themselves to code blocks), you should only be using the .htaccess rules that apply to your particular WordPress installation. I’m assuming in this answer that you’re using WordPress greater than 3.5 (the current release as I write this is 6.7), and your question shows Subdomain Multisite. Thus, … Read more

Unable to upload files greater than 1MB in size in Multisite network?

Upon debugging we found the wp_max_upload_size function was returning 1MB. The u_bytes and p_bytes were as expected and equal to 100MB as defined in our uploads.ini file but the application of upload_size_limit filter changed the size to 1MB i.e., the problem was at: return apply_filters( ‘upload_size_limit’, min( $u_bytes, $p_bytes ), $u_bytes, $p_bytes ); A upload_size_limit_filter … Read more