Running multiple sites with one installation and one central management. Also known as network and WPMU.

learn more… | top users | synonyms (4)

2
votes
0answers
70 views

Is there a filter to define the OG image on a given post?

I am looking for a filter to define what image on a post sets the facebook OG image. In my case I have the image I want to use in a post meta field. I have looked around but am unsure of the best way ...
0
votes
0answers
23 views

redirect a domain to specific page on another domain running multisite

I have 2 domains, 1 is running subdomain multisite and the other I just want to redirect to the multisite domain. Domain1.com = running sub domain multisite Domain2.com = bare domain to be ...
0
votes
1answer
88 views

Mapping subdomain to point to sudirectory site in WordPress Multisite Network

I installed WordPress multisite (the sites runs in the root folder) and have created a site as a subdirectory. The web server used is Nginx. I now want to map the main domain example.com to the ...
2
votes
1answer
59 views

Network installation giving errors when viewing or adding a user

I have just installed a fresh version of WP which I have turned in to a network install (using the instructions found here). All seemed to be going well, and I was able to add a new site ...
0
votes
0answers
95 views

Can't access admin-ajax.php on some sites on Multisite install

I have a multisite install on wpengine, with the main site acting as the parent theme and each subsite a child theme. From the main site and one sub site I can call /wp-admin/admin-ajax.php without ...
0
votes
0answers
21 views

Deleted user from subsite can still login (wordpress multisite)

I have a problem with Wordpress Multisite. When I delete a user from a subsite, the user is deleted in the subsites userlist but he can still log in. I dont want this, he should be deleted and denied ...
0
votes
0answers
37 views

How to get blog id of a post from admin panel?

I have multi-site and using add_attachment($post_id) hook to get the $post_id whenever a binary file is uploaded. I need to figure out the $blog_id of that post. How would I go about doing this? I ...
0
votes
1answer
51 views

How to change a WordPress network domain

I recently moved my WordPress network to a new domain and thought I had updated every reference to that domin, however I was wrong. I searched high and low for the answey, but alas I could find it no ...
0
votes
0answers
120 views

Wordpress multisite dashboard not working..!

I have installed a multisite network in wordpress on my test server and it was working fine but when i did the same on my production server its not working properly. When i try to login in wp-admin ...
0
votes
0answers
28 views

WP Multisite - Domain And Subdomain

I have created a site using WP multisite. Site created a subdomain. For example, Subdomain created: subdomain.domain.com I am easily accessing the Subdomain URL, but after mapping an external ...
0
votes
0answers
34 views

Synchronize post (custom) across multisite?

I have a multisite web, created due to multi-language environment. Each web symbolizes the country, language, currency and pricing policy. But I need to do to when a user adds a new custom post ...
0
votes
0answers
28 views

Export to WXR for pages containing script and iframe tags

I've noticed that when importing content from a WordPress site which has tags embedded in the page content, the operation seems to have stripped out all <script> and and <iframe> tags. I ...
0
votes
4answers
2k views

Multisite get_home_url(); - Getting URL for current site

What would be the replacement for get_home_url() when using a multisite? For example, if I have one theme installed across several sites, and within the theme there are links that need to be specific ...
0
votes
0answers
33 views

Adding items in a menu not working in multisite

I have a custom code that it will automatically add the category to the menu in multisite. Lets say I have a category name "Cat1" then once I run my code this will automatically added to the menu. ...
0
votes
1answer
51 views

Get current user outside of Wordpress Multisite

How to get current logged in user in Wordpress Multisite outside of it? I tried the method for Wordpress Singlesite and it give the error Call to a member function set_prefix() on a non-object on ...
0
votes
0answers
23 views

Multisite - User creation for second site from first site?

I have two different WP sites set up in my multisite network. The website #1 should act as the frontend of the multisite and website #2 is the members section. If a user fills out the form on ...
0
votes
0answers
11 views

Multisite installed on app.example.com how do I prevent sub sub-domains ie xy.app.example.com?

I'm working on a web app which uses WordPress multisite installed on app.example.com. It's configured to create sites as subdomains. Is there any method to have each new site created at ...
1
vote
3answers
2k views

Multisite non-www domain redirects to sign-up

I have Multisite enabled and can only view my site with the "www". When I try without the "www" it sends me to the sign-up page and says 'Registration has been disabled.' www.domain.com/portfolio ...
1
vote
0answers
50 views

Customize default settings on new sites on multisite

As the title states i need an approach to change default settings when a new site is created on my wordpress multi site. I guess its easiest to keep the code in a mu-plugin but can a go about having ...
0
votes
1answer
10 views

Move two independent sites to network

I have two independent sites, both have contents and plugins and themes. I know from docs how to convert one to a network but how do I import the second one on this network? By import I mean at DB ...
0
votes
3answers
154 views

New Site URL for Multisite

I want to create new networks but am having issues because Wordpress is saying it is invalid. I have a base url of something like http://website.com and then I'm trying to create a new network after ...
0
votes
0answers
18 views

Mutlisite in wordpress is not working

I have created wordpress multi-site. but when i tried open example.com/au. it gives me server 404 error. I already enable mod_rewrite and start the apache service. I am using ubuntu14.0 and my root ...
1
vote
0answers
26 views

Get the User ID Who Owns a Given Blog ID in Multisite

I am working on creating a function that will take a $blog_id and return the corresponding $user_id of the user who owns/created the blog in a multi site network. public function ...
4
votes
2answers
420 views

Using Vagrant for customizable Wordpress Multi-sites [closed]

Background: My partner and I have a goal to create a customizable vagrant project that uses Wordpress multi site, as a local development environment. Ideal Use Case: Various developers on our team ...
2
votes
1answer
170 views

Implementing DNS Prefetching with WordPress

I'm not sure whether my question sounds promising or not but what I'm going to ask is very much relevant. So please read the full question before down voting or flag. I'm trying to implement DNS ...
0
votes
4answers
112 views

Is it legal to redefine wp_password_change_notification in a mu plugin?

I am trying to add some logic to this function of when to alert the admin to a password change but no email is being sent at all. The codex says it needs to be declared in a plugin, so is this legal ...
0
votes
1answer
65 views

Why does defining MULTISITE true change the database connection in use

I have taken a copy of a multisite install to work on it locally. I've noticed that if I set define('MULTISITE', true); in wp-config, I get the standard database connection error. If I disable ...
0
votes
4answers
707 views

Multisite non www domain gives registration error but should redirect to www.domain.com

I'm running wordpress multisite, and when I connect to my domain at domain.com I get the error "Greetings Site Administrator! You are currently allowing “none” registrations. To change or disable ...
4
votes
4answers
658 views

How can I diagnose a slow Wordpress admin?

Over the past few months the admin pages on my wordpress multisite site (around 80 sites) have been taking around 20 seconds to load. I am running the latest version of wordpress (version 4.1). ...
0
votes
1answer
45 views

Site w/ Addon Domain doesn't show CSS

I have a website with its main domain name and an add-on domain. When I access the Wordpress site from the main domain, CSS/JS loads without any issues. When I access the site through the add-on ...
0
votes
0answers
23 views

Wordpress Multisite Cron Issue

I'm having some very weird cron issues. I was looking to run cron on a multisite subfolder install. And I user Debug Bar Cron plugin to see my cron jobs. I can see that the cron jobs are running fine ...
0
votes
0answers
19 views

No Styles Working on Wp-Signup.php [MU]

I'm not sure why, and it's kind of putting me off getting into theme development, but I can't seem to work out how to customise wp-signup.php? I have looked everywhere on the internet but I can't find ...
0
votes
0answers
90 views

MultiSite extremely slow when navigating in admin area

I have a WordPress MultiSite blog. Recently I updated to 4.1. Not only since then, but already before my blog has been running very slow when navigating through the admin pages in the backend. It ...
0
votes
1answer
216 views

WordPress on Nginx - Missing admin/toolbar

Hi I've been trying to figure this out for quite some time now, but whatever I do nothing seem to work. I have a VPS setup running Nginx + Varnish with WordPress multisite. Everything works fine ...
0
votes
1answer
55 views

Password protect a single site on network

Id like to restrict access to a single (subdomain) subsite, so that it requires a plugin to view the site... without affecting any of the other subsites. So for example if I have 3 subsites like ...
12
votes
2answers
2k views

restore_current_blog() vs switch_to_blog()

After every instance of switch_to_blog() you should call restore_current_blog() to restore the current (actually, previous) blog. But if you're looping through two or more blogs and calling ...
0
votes
2answers
44 views

Activation Account Email

I use a betnami hosted wordpress multisite, when a user sign up in the site he should receive an email with activation link, but it does not work! so how to make it work? and if it work how to ...
1
vote
1answer
17 views

Can I install a theme on only one site of a multi-site network install?

I'd like to install a theme on only one site of a multi-site network install. Is there a way to do that?
0
votes
0answers
79 views

Access post_type from url inside media modal window

In the new post screen of a custom post type i.e. wp-admin/post-new.php?post_type=product you click add media button and it brings up the media modal. You can add custom functionality to thise via ...
2
votes
2answers
50 views

SQL to check how many sites a user is a member of

I have a multisite installation and I'm working on creating a reporting plugin. One of the things that I would like to do is show the number of sites a user is a member of. Right now, I'm using ...
2
votes
1answer
29 views

Multisite - create a category in specific site

I have a multisite I want to create a category but in a specific site. I used this functions below: wp_create_category('mycategory', 0); but this will create a category on the main site. I keep ...
0
votes
0answers
43 views

Subdirectory and domain multisite installation

I have this structure: http://example.com/ http://example.com/site2 http://example.com/site3 http://example.com/site4 ... Now, I want http://example.com/site4 to be http://mycampaignwebsite.com/ ...
0
votes
0answers
47 views

setup network in IIS and subdomain

I have a WP site with this site url: subdomain.example.com under IIS web server and now I need to setup multisite. I added in my wp-config.php: /* Multisite */ define( 'WP_ALLOW_MULTISITE', true ); ...
0
votes
1answer
215 views

Is it still only possible to do multisite domain mapping with a plugin in WordPress 4.1?

If I have a multisite subdomain install e.g. mysite.co.uk and I want to map another domain e.g. mysite2.co.uk to a new site in the same multisite install, is this only possible using a plugin or ...
0
votes
2answers
163 views

Multisite wp-admin redirect loop

I have a subdirectory multisite setup, it all works fine apart from one small issue... The sites are setup in the following structure: http://domain.com/blogs/ http://domain.com/blogs/second/ ...
0
votes
0answers
11 views

wpmu_create_site creates broken sites

I am trying to develop a WHMCS provisioning module for WordPress Multisite. So far I have managed to create several sites using wpmu_create_blog, however the function does not assign the new site to ...
0
votes
1answer
21 views

MultiSite Move conjures duplicate URL

I just tried to do a very painful move of a multisite. I thought I had everything working until I clicked a blog link on the MAIN site and I was greeted with a duplicate url. Something like this ...
1
vote
1answer
29 views

wordpress multisite, https for whole site or just admin?

I have a wp multiste with a subdomain structure and a wildcard SSL cert. My multiste has enabled registration for anyone t create a site. I know how to do both: 1. just the admin to have have https ...
0
votes
0answers
39 views

What to do first when converting to multisite and subdirectory install

I want to make my WordPress 4.1 installation: be in its own subdirectory (htdocs/wordpress) served from root domain: (www.mysite.com/, www.mysite.com/site2/, www.mysite.com/site3/) multisite with ...
0
votes
1answer
636 views

Set my own password when registering a multisite user or site

I'm wondering how I can change the network admin add "new user" or "new site" form so that I can set the password instead off having it randomly generated and e-mailed to the new user. There seems to ...