The easiest way is to check for get_current_blog_id();
and adjust your 404 template based on the current blog id.
An other option is creating a child theme for every site and adding different page-404 templates.
Related Posts:
- multisite 404 error for subdirectory
- Multisite 404 errors and non-www redirecting to home page
- Subfolder multisite issue. Themes and plugin files 404
- Subsites in Multisite installation throwing 404 error on wp-admin in IIS 7
- Multisite installation on IIS gives 404 trying to access the admin dashboard
- Preview posts returns 404
- Multisite new sites not found(404), main site still works [closed]
- Error 404 on Network Admin and others
- Issue with htaccess redirection in WP Multisite
- Can’t view network plugins.php or upgrade-core.php on multisite
- Multisite – 404 when accessing sub-sites
- WordPress multisite on IIS – can’t open subpages
- Some PDF files get Forbidden Access and other open normally on the same directory subsites
- Multisite sub-directories IIS 7.5 change media/uploads location
- 404 redirecting to home [closed]
- 404 on page 2 multisite
- 404 not working on main site on multisite
- multisite 404 subfolder same name slug as site
- How to convert multisite subdomain from http to https
- Multisite,half the way
- How to add WordPress site to multisite network when both are addon domains
- Built-in Sitemap on Multi-site install produces 404?
- Moved my site to new host now getting 404
- How to set up wp multisite?
- first load of the page gives 404 error
- Subdomain add comment redirect to 404 not found page iis server
- I’m getting a 404 NOT_FOUND CODE: ‘DEPLOYMENT NOT FOUND on wordpress multisite installation on my sub domain
- restore_current_blog() vs switch_to_blog()
- How to get blog name, when using WordPress Multisite
- Which asset URLs are acceptable in a “vanilla” MU install?
- Using MAMP and Xip.io to view a WordPress Multisite on a local network
- REST API for Multisite
- How can I display all Multisite blogs where this user is administrator?
- Multisite: use media from one site vs. copying the same media to all language sites?
- Create unique robots.txt for every site on multisite-installation
- “Upgrade Network” error: stuck with SSL certificate verification
- when using add_user_to_blog getting error “Call to undefined function get_userdata”
- Restrict the user access in multi site for non-assigned blogs
- Getting an ERROR: Cookies are blocked error when logging in to a site on a different domain?
- display merged posts from multisite and sort by latest date
- Force Uploads Use Yearmonth to off (0) for all existing sites in Multisites
- WordPress Multisite – Multiple Subdirectories
- Images uploading to wrong directory after changing to multisite
- Why are images uploaded to main domain, when using multisite with different domains?
- Subdomain login problems
- How to Redirect login User with Mapped Domiain Primary blog Url to Original Sub-site Url
- Determining the compatibility of Settings API & Multisite
- Downgrading a WP3.3.1 Network Install
- Update User Role Across Network when Main Site User is Updated
- Shared User Tables on 2 WordPress Sites; “Main” Site and “Discuss” using P2?
- Get the User ID Who Owns a Given Blog ID in Multisite
- Create custom role, multisite, add users/sites?
- https redirect hell (adding www)
- How to disable W3 Total Cache “Performance” menu under multisite? [closed]
- Redirect subdomain in Multisite installation?
- Will revisions be retained when converting to a multi-site?
- How to create sub site in wordpress multisite programmatically?
- Multisite on localhost using xampp
- wp-config dynamic hostname in WP_HOME and WP_SITEURL
- Include only a domain path in multisite Network
- Jetpack API for WordPress Network
- WP doesn’t remove uploads from folder when removed from “Media Library”?
- How can I use WP_Site_Query to find a blog by blog name?
- Multi-language site on different domains
- SEO implications of assigning a new domain to a multisite subdomain [closed]
- How can I add custom meta on signup page and pass along to be used after blog activation?
- Conditional Image Sizes for Use via Theme Customizer Upload Only
- How to check main blog in a multisite using if statement?
- Is there is a way to group a large number of WordPress Multisites For Easier Organisation?
- Multisite on single wordpress
- How can I map the primary domain for subsite as subdirectory for another domain?
- How to delete users from a WordPress MultiSite that stay in the DB?
- Installing other applications alongside WordPress multisite and configuring dns routing
- All Network sites display as main blog
- Is a multisite install what I need?
- Running hundreds of WP in multisite
- Bitnami multisite change URL of secondary blog
- Number of total comment does not tally with the number of comment?
- Domain not redirected correctly with WordPress Multisite
- Subsites in Multisite throw 404 in wp-admin
- WordPress theme to support single website but with 3 sections for 3 languages
- Can assign a new domain to a site in a multisite?
- Possible to have duplicate usernames on different two multisites
- Main site media are accessible in subsite domain
- Including non-wordpress pages within a single multisite domain
- How can I import posts into different wordpress multisites at once?
- Redirect www.mainsite.com/subsite/wp-login to www.mainsite.com/wp-login
- Activation of new Registered site fails on multisite
- How to login a user with wp_set_auth_cookie on a specific blog within a multisite environment
- How does adding custom meta to signup form work?
- Can’t un-archive site after upgrading to WordPress 3.8
- How to handle responsive and non responsive websites in one WordPress Theme?
- Is it possible to put a site other than #1 as a Multisite top-level domain?
- Should I go for Multisite or separate WP Installation?
- Swap domains of two sites with each other in multisite
- Many big issues in the website, WP_Debug not showing
- wordpress multisite with already existing subdomain
- Why the sites dropdown in multi-site installation is different from the list of sites when seen full page?
- WPML is blocking WP core update
- Multisite: Redirect a deleted site – Best practice?