Fix Old Subsite URLs After Domain Mapping
Rewrites links and image URLs that still point at a site's old network address (like example.com/shop/) to its mapped domain when content is displayed.
Snippet Library
Snippets for WordPress Multisite networks: network-wide settings, new site defaults, super admin tools and cross-site tweaks. For network administrators who manage many sites from one install.
Rewrites links and image URLs that still point at a site's old network address (like example.com/shop/) to its mapped domain when content is displayed.
Removes the "Add Existing User" form on subsite Users > Add New for site admins, so they cannot pull people from other sites on the network.
Removes the My Sites menu from the toolbar for everyone except super admins, so members of several sites are not distracted by the network structure.
Removes Tools > Import and Tools > Export from subsite dashboards for non-super-admins and blocks the screens, keeping content moves in the network team's hands.
Sets every newly created site to "Discourage search engines" so half-built sites are not indexed; site owners switch it off when they launch.
Removes Settings > Permalinks from subsite dashboards for non-super-admins so URL structures stay consistent across the network.
Removes the Plugins menu from subsite dashboards for everyone except super admins and blocks direct visits, even if "Enable administration menus" is on in Network Settings.
Adds a small "Find site" search box to the toolbar in Network Admin that searches the sites list by name or address, saving clicks on networks with hundreds of sites.
Records when each user last signed in anywhere on the network and shows it in Network Admin > Users, making inactive accounts easy to find.
Adds a [wpide_main_site_posts] shortcode that lists the newest posts from the network's main site, perfect for a "News from HQ" box on every subsite.
Allows site administrators to edit the profiles of users who belong to their site, which multisite normally reserves for super admins.
Stops a user from signing up for another site once they already own the number you set; super admins are never limited.
Shows super admins every site a user belongs to, with their role on each, at the bottom of the user's profile screen.
Makes the Administration Email Address field on each site's General Settings read-only for site admins, so network notices keep reaching the right person.
Blocks anyone from being granted super admin rights unless their username is on your approved list, protecting the network if a super admin account is compromised.
Shows each site's public address next to its network address in Network Admin > Sites and flags sites whose Home and Site URLs do not match, a common domain-mapping mistake.
Makes the subsites you list visible only to logged-in members of that site; everyone else is sent to the login page and non-members see a friendly notice.
Requires new site names to be at least a set number of characters (WordPress only asks for four), cutting down on throwaway and squatted names.
Adds a widget to the Network Admin dashboard with totals for sites, users, archived, spam and deleted sites, and the five newest sites.
Adds an "Announcement" box to Network Admin > Settings; whatever a super admin writes there appears as a dismissible notice on every site's dashboard.
Lets super admins set one line of text in Network Admin > Settings, such as a hosting credit or legal link, that appears in the footer of every site.
Shows the main site's custom logo on the login screen of every site in the network, linked to the site being logged in to.
Adds a checkbox to Network Admin > Settings that puts every site on the network into maintenance mode at once; super admins can still browse and work normally.
Adds a noindex robots directive to any subsite whose address contains "staging", "dev" or "test", so preview copies inside a network never show up in search results.