Articles of multisite

Limit blogs creation

someone knows how to limit the number of blogs creation in a wordpress multisite? (3.6.1). In the wordpress plugins repository there is this plugin, but It doesn’t work, I think it’s not up to date. Any suggestion would be appreciated, thank you very much.

How to disable W3 Total Cache “Performance” menu under multisite?

I came across the following article W3 Total Cache – How to disable “Performance” menu under multisite? However on testing it with the latest version of WordPress 3.7 and W3 Total Cache v0.9.3 it seems to no longer work. How can I update the code from the link above so it works I also have […]

how to create wordpress network with multiple wordpress installations

i want know it is possible to have 2 or 3 wordpress installations ,get together create ,and create a network .,which will share user data across the network, if there any reference that will be great,

How to Deny Access to No Referrer Requests on Multiste with Mapped domains

RewriteEngine On RewriteCond %{REQUEST_METHOD} POST RewriteCond %{REQUEST_URI} .wp-comments-post\.php* RewriteCond %{HTTP_REFERER} !.** [OR] RewriteCond %{HTTP_USER_AGENT} ^$ RewriteRule (.*) http://%{REMOTE_ADDR}/$ [R=301,L] I’m aware that the following code Denys Access to No Referrer Requests. However I’m using a multiste installation and I would like to know. How can I modify it so the code above to work with […]

MultiSite: new Sites not showing up

I have a Multisite installation that I just upgraded to 3.5.2. So far everything has been working great (9 sites); after the upgrade I just went to create two new ones, and I have a problem. Everything below is done as the superadmin who is also the admin for the new sites. Network Admin -> […]

404 on page 2 multisite

I have a a multisite installation of wordpress. On my startpage (index.php) I show posts from all the sites that belongs to the network. The problem I’m experience is that when I go to /Page/2 I get a 404 message if my main blog doesn’t have enough posts for a page 2. However on the […]

Generate HTTPS Urls in multisite

I have a plugin that allow my users in multisite to generate simple urls like but i want to include the https instead http … echo ‘<div>’; echo ‘<div><input type=”text” class=”url” value=”‘ .get_option(‘home’). ‘/?my_url=’ . $download[“code”] . ‘” onclick=”;” /></div>’; exit(); } I tried echo ‘<div><input type=”text” class=”url” value=”https://’ .get_blogaddress_by_id( $user_info->primary_blog ) . ‘?my_url=’ […]

How many databases do I need?

I have been asked to build another site for someone else. Eventually, I will turn it over to them. I will develop it locally, then take it live, then turn over full control. In the meantime I need a database for WP to interface with. Do I hook the new site into my existing database […]

SQL Query to Get list of all users along with their blogs

How to query for a list of users along with the blogs in which they are member of in a multi site wordpress installation. For example, I need the results as below user domain abc abc ggh I tried the below query, but its not listing all the domains.. SELECT DISTINCT a.user_login, […]

Add access control origin header information across multisite

I want to add the below snippet to my wordpress installation. <?php header(“Access-Control-Allow-Origin: *”);?> I don’t want to add it in every template header as there are many of them and I have 60 networks with 2-3 sites in each network. In what file should I add this snippet so that it has effect across […]