I would use a rewrite to map requests for /favicon.ico
to /icons/example.com.ico
:
RewriteCond %{REQUEST_URI} ^/favicon\.ico
RewriteCond %{SERVER_NAME} ^(www\.)?([a-z0-9]+)
RewriteCond %{DOCUMENT_ROOT}/icons/%2.ico -f
RewriteRule . /icons/%2.ico [L]
Note the regex for line #2 depends on your set-up – is each website its own domain, or a subdomain/subdirectory of a primary domain?
I would also place a default favicon in the root, which will get pulled if no favicon exists in /icons
for the current site.
Related Posts:
- Favicon plugin for WordPress running in network mode (multisite)? [closed]
- Multisite favicon.ico
- How to share WordPress core library
- Programmatically create blogs with dummy content on a WPMU site
- How to individually set WP_DEBUG on a sub-directory multisite?
- Change wordpress Multisite default site from side id 1 to side id 2
- How can I have network sites not use year/month folders by default?
- 4 single sites VS multisite wordpress
- multisite htaccess 301 redirects
- Why can’t a WordPress network (multisite) in it’s own folder use subdomains?
- Two-level multisites in WordPress
- Display custom homepage text based on domain
- Add new domain to ‘My Sites’ using network admin
- Is there an advantage of using multisite if I have multiple WordPress websites for myself?
- Non-wordpress subdomains on Multisite Installation
- Split a database will improve performance?
- Why are images not displaying?
- ‘Remote Login’ with MultiSite Domain Mapping still forcing users to login to all blogs individually?
- Change multi-site installation from sub-domains to sub-directories
- Multisite on Rackspace Cloud (ubuntu lucid)
- how could I have a user signing up for a blog, be assigned to that blog only
- oEmbed in wordpress multisite not working
- Multisite Upload URL?
- WordPress multisite installation broke menu links
- How to search users globally on a multisite install?
- Forgot your password points to main blog on multisite install [duplicate]
- How to use same email for multiple users in Multisite version 4.7
- Upload images from one site to another in Multisite
- Hide active themes on multisite subdomains
- How is a user’s primary blog determined?
- Master Site for specific taxonomy in MultiSite
- Multisite: copy template when a subsite is created
- Password protect a single site on network
- How to get permalink using get_blog_post function in a multisite?
- Why can’t I login to my “network sites”?
- Multisite gives Error if i want to enter Dashboard or Site
- Good way to block users within a multisite setup without deleting them?
- Use separate S3 buckets for separate sites in a multisite environment
- Create a database for each site created in multisite?
- Adding a existing developed site to a multisite installation of WordPress
- Multisite Posting Recent Items in All the Sites Linked with Multisite
- How can you override the is_multisite check in wp-login.php for individual login/registration?
- 2 website 1 database… Local to online
- How can i define the order of blogs in a multisite network manually (like pages)?
- Custom port problem with local MU installation
- Multisites – Select homepage based on location
- Switch to blog and get content from that blog
- How can I hide certain sidebars from some users?
- How do I create a multi site network?
- Hosting 2 WordPress websites in /public_html/ & /public_html/subdirectory/ at the same time
- How to Deny Access to No Referrer Requests on Multiste with Mapped domains
- Making a Multisite Dashboard Widget
- wp_get_attachment_image_src returns incorrect URL on multisite
- Locking one blog of many in a multi user/blog WordPress installation
- How do I disable XML-RPC in WordPress Multisite?
- Include www prefix in site URL
- Is this possible? A multisite with “www.example.com/en/blog/” and “www.example.com/cn/blog/” (two directories deep)
- How to modify wp_config file for set up subdirectory?
- Sharing users across multiple sites, each on their own database
- Activation Account Email
- Is this a good case for Multisite?
- WP Multisite – How to create a custom “router” for blog prefixes?
- Show buddypress profile fields in a multsite blog [closed]
- How to automatically translate plugin using translate.wordpress.org
- May I do multiple micro-sites with different themes in a single wordpress without subdirectory nor subdomain separation?
- Multisite problem with unexisting paths to CSS etc
- How do I export a single site in a multisite content without using a plugin? The default WP export does not catch all
- Multisite Smtp Server
- Images uploaded after adding multisite do not get loaded in any domain of the multisite network
- Media library links broken WordPress Multisite after SSL update
- When hooking wp-cron to system
- WordPress network, add extra directory to subsite urls
- How to disable Gutenberg editor from Multisite Admin panel?
- Multisite wp-admin redirecting to main wp-admin using NGINX
- Register a user only to the root blog – WP Multisite
- Update Same Contents on every Page
- Separated Theme file on multi site network in subdomain
- Send data from one WP instance to another and process it there
- WooCommerce API Returns 401
- User not staying logged into one of sub sites in multisite after SSL
- WordPress Multisite Network Subdomain
- register_setting() for single site vs update_site_option() for mu
- Allow users to register on multisite through WooCommerce using the same email address
- Use a single WP installation instead of three
- MU domain mapping without using a plugin
- Sending SMTP mail using a server with self-signed SSL
- Can WordPress Multisite work like a regular site?
- Multisite authorization error 401
- How create a multisite setup with “phantom” accounts and passwords?
- is there a if multisite have posts function?
- Multisite – mix sites that use subdomains with sites that use paths
- WordPress Multisite — Have same navigation, sidebar and footer across all sites.
- Primary site file uploads failing, subdirectory subsites upload fine
- Subdomain Wp-Admin Not Found
- Run “get_the_post_thumbnail” with a different table prefix?
- Pick your brain on wp-config.php if statement for multisite
- All links to images are broken in a subdomain multi site environment
- WordPress Multisite restict user access
- Change a subsite Admin role of a WordPress Multisite after 24 hours registering
- different image for mobile template block theme