Questions tagged [multisite]
Running multiple sites with one installation and one central management. Also known as network and WPMU.
3,030
questions
0
votes
1
answer
766
views
Modify new user email notification in network admin screen wp multisite
Can please teach me which function reference should I use to modify new user email notification in network admin screen -> add user.
I want to use custom email template for notify user?
it will ...
0
votes
1
answer
2k
views
Problems with WordPress multisite directories/url structures and admin access after migration
I'm trying to migrate a multisite WP installation to a new server. The network consists of a simple parent site that redirects users to one of four subsites based on their location. E.g. if a user ...
1
vote
2
answers
2k
views
Login problems on multisite installation with different domains
I have a subdomain multisite installation in site.com, with subsites such as sub1.site.com, sub2.site.com etc. I needed to transfer one of these sites to an own domain, sub1.com.
So I changed the ...
0
votes
0
answers
10
views
Unexpected Login Redirect in Localhost WordPress Sites
I have two WordPress websites set up for learning purposes on my localhost. One is a clone of the other, and both are accessible through different loopback addresses in my /etc/hosts file. When ...
0
votes
1
answer
937
views
Multisite, different domains, optional subdirectory, and htaccess
Here's the situation:
Configuration
I have a WordPress multisite setup where different sites are on different domains. Some of those sites are contained in a subfolder in their domain, some are not. ...
1
vote
1
answer
2k
views
wp_mail() not sending email in multisite subdomain
I have a multisite enabled WordPress configuration. My main domain is like http://www.example.com, with several subdomains like http://test1.example.com, http://test2.example.com, and so on.
I have ...
0
votes
1
answer
991
views
WordPress and SQL - Update and Insert from another table if column value doesn't exist
Stuck with some mysql for my wordpress site. All within 1 DB.
I am attempting to update wp_options table from wp_2_options (Multisite).
They both have option_name (unique_key) and option_value ...
2
votes
2
answers
2k
views
Multisite Widget/Content
I'm using WordPress multisite and need to display content across all subsites in the sidebar. This is a network of 50+ sites so updating all 50+ sidebars with this content every few days is not ...
0
votes
2
answers
1k
views
Define default settings for new sites on multisite network with mu-plugin
I have set up Wordpress with a multisite network. I have been searching around for hours and can't seem to find much documentation on setting custom defaults for all the new sites that are created on ...
0
votes
1
answer
798
views
Force multisite to use subdirectories on previous wordpress installation
Is it possible to force multi site to use subdirectories on the previous installation without affecting anything, as I am using godaddy shared hosting and it doesn't support subdomains on multisite on ...
0
votes
1
answer
1k
views
Multisite custom rewrite urls
On a multisite installation, which is running the Polylang plugin, I want to add a custom rewrite rule.
Currently, my permalink structure is:
http://host.com/sitename/language/pagename
Now I want ...
2
votes
3
answers
1k
views
How to see which sites use my installed plugins (wordpress multisite)
How can I (easily) determine which of my wordpress sites are using a given plugin, on a Wordpress Multisite install?
Let's say I have 1,000 wordpress sites on a Wordpress Multisite install. I have 100 ...
0
votes
1
answer
799
views
Can't activate a user on multisite install
So I have a user that I can't activate with the unconfirmed plugin manually. His user was created on all appropriate sites, but his account isn't listed as activated. The link in the activation email ...
0
votes
0
answers
17
views
NGINX rewrite rules for Wordpress Subdirectory Multisite to support deep URL
I'm trying to setup a Wordpress Subdirectory multisite that can support deep urls. By deep urls, I mean the the sites should be able to have more nested parts. E.g
https://example.com/path/nested/...
0
votes
1
answer
29
views
Multisite, using switch_to_blog in filter
I am programming a hook for ACF to get a list of posts from another site in a network.
so
switch_to_blog(1);
... do some WP_Query...
...list results in an array ...
restore_current_blog;
in a ...
0
votes
2
answers
2k
views
Trying to access second site dashboard on a multisite configuration proceeds to an error
Having this issue that I create a sub-site and when I try to access the dashboard of that sub-site it leads to this error
This page isn’t working
domain.com redirected you too many times.
Try ...
0
votes
1
answer
945
views
Send data using GET method not work correctly
Im using WP 3.5.2 and WPMU. I develop one page http://baohiem.info/chon-mat-gui-vang.
This page uses global $wpdb to query table _blogs.(_blogs was customized, added some fields.)
When submit form, I ...
0
votes
1
answer
286
views
MP4 upload ok, but HTTP500 if I update the file (multisite)
I am trying to make available a mp4 video of ~500Mb but my connection is too slow to do this at home.
To achieve this, I uploaded the video via ssh from school then i used the wordpress media manager ...
1
vote
2
answers
1k
views
the_post() within switch_to_blog() altering my excerpt
I have a strange problem I'm facing when using WP_Query with multisite in a plugin I'm writing which hooks into add_meta_boxes. I'm wanting to display all post titles in a dropdown in a meta box.
...
0
votes
1
answer
783
views
Users cannot post when editor or admin on more than 1 site on multisite
Just upgraded to 3.6.1 last week. I have rolled back and re-upgraded 2 times. When I roll back everything works. I've Turned off plugins, changed to 2012 theme. Tried 3.7 with same issues.
Users can ...
3
votes
3
answers
3k
views
Add Rewrite Rule to point to a file on the server
I'm trying to add a rewrite rule that will point to a file inside a plugin. This can be added in the plugin, theme or .htaccess file.
My current code from inside the theme's function.php looks like:
...
0
votes
1
answer
28
views
Show 404 when someone visits a non-existant Multisite site
If we try to access a non-existant Multisite site, e.g., http://site1.example.com or http://example.com/site1/, we are redirected to http://example.com/wp-signup.php?new=site1.
How to block this and ...
5
votes
1
answer
785
views
Multisite/network--automatic self-registration, blog setup
I am creating a WordPress Network multisite blog in a university environment. It's set up in subdirectory mode, so that each new blog appears as a subdirectory off a common domain name.
The Network ...
6
votes
1
answer
1k
views
Post and Page Inheritance to subsites in a WordPress Network
I have to develop a multi-country, multi-lingual website. One country may have multiple languages. I have setup a WordPress Network and created subsites for each country like following.
abc.com/ > ...
0
votes
1
answer
1k
views
How to login a user with wp_set_auth_cookie on a specific blog within a multisite environment
How can you leverage wp_set_auth_cookie to programmatically login a user on a specific blog in a multisite environment?
wp_set_auth_cookie doesn't allow you to set the target blog to authenticate the ...
1
vote
1
answer
141
views
wp_insert_site() is triggering database error in a unit test
I have a WP "unit" test, run in multisite mode, that looks like this:
class EffectsTest extends WP_UnitTestCase {
public function test_wp_insert_site() {
$id = wp_insert_site([
'...
0
votes
2
answers
1k
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 ...
1
vote
1
answer
810
views
How to eliminate permalink prefix in Wordpress Multisite
I have installed the multisite plugin for Wordpress; I have one website in English, and the other in French.
However, when I go to Settings -> Permalinks, my English website shows this:
I don't ...
0
votes
1
answer
1k
views
Allow users to register on multisite through WooCommerce using the same email address
I'm working on setting up a multisite environment, and have run into the possibility of a user trying to register on the sub-site with the same email address they've used on the main site. I've found ...
0
votes
1
answer
2k
views
Subdomain Wp-Admin Not Found
I enabled the MultiSite option using the instructions on the WordPress site (`mandeltech.com), and now I am trying to create a subsdomain for WooCommerce (shop.mandeltech.com`). I created the ...
1
vote
1
answer
1k
views
Show media-frame-menu on custom Media Frame
I have a plugin I built that adds a custom media frame with the following:
media_frame = wp.media.frames.media_frame = wp.media({
title: 'Select your images',
button: {
text: 'Use Image'
},
...
0
votes
0
answers
11
views
Best way to set up multiple urls for the same Wordpress site?
I have a portfolio site for all my art under a main url. The site houses all the different kinds of projects I do. One of my main projects is a webcomic and I want the section of the site dedicated ...
1
vote
1
answer
744
views
How to get correct URLs in network wide menu (Multisite)?
I'm using this function to switch to my main website's navigation and display it on all sub sites in my multisite network. Ideally the links should have the following format:
http://www.mysite.com/...
1
vote
0
answers
27
views
Best way to handle multiple assetlinks.json URLs for Multisite?
When running PWA/TWA apps built on WordPress, they require an assetlinks.json file to be served from the root domain of each site. I'm wondering if anyone has come up with a solution to this using ...
3
votes
2
answers
7k
views
How to show sites under "My Sites" Menu in admin panel wordpress multisite?
When i add new multisite by visiting "My sites -> Network admin -> sites", the list of sites appear.
This list contains more than 10 sites. But when i hover to "My Site" Menu in admin panel top ...
0
votes
0
answers
17
views
Wordpress: How to change name of ADD-ON domain's folder and also change/rename all references to it
Interserver.net hosting allows install of unlimited sites in one user account. I have set up an "add-on" domain, which is a fairly common structure but different than using WP Multi-site. ...
1
vote
1
answer
1k
views
Multisite Redirection to new domains
I have a multisite website with 5 domains in WordPress which uses WordPress MU Domain Mapping plugin.
I want to redirect every subpage to new domain, but we will be still using the homepage, because ...
0
votes
1
answer
30
views
WordPress Translation not working for my theme
Hi I've been trying to translate a string on my website using the translation function __( and
_e and I'm not seeing it working on my site.
for example i have a string on my site
__( 'Show articles', '...
6
votes
2
answers
2k
views
Give to site admin the option to "skip confirmation email" when adding new user
in wordpress multisite when we give to site admin the option to add new users, site admin dont have the "checkbox" to add the new user without sending the user email with link activation (see the ...
1
vote
1
answer
3k
views
Automatically login user across multisite
When new site is created on my multisite installation, I automatically add the new user to the main site (because I need him to order the product):
add_user_to_blog( 1, $user_id, 'customer' );
I'd ...
0
votes
1
answer
29
views
Change homepage logo for each site multisite setup
I recently migrated our website to a multisite using sub-paths, and I was trying to change the logo on each webpage example.com/en and example.com/ja, but this is no longer possible, is there a way ...
3
votes
2
answers
3k
views
Why wordpress multisite redirect to wp-signup if site exists?
I just create a site on my Multisite domain (example.com), for instance site1.example.com
After this, I try to enter on https://site1.example.com/wp-admin, but I'm redirected to https://www.example....
2
votes
1
answer
344
views
Multisite with 220+ sites painfully slow
We’re having issues with the site being painfully slow. It can take anywhere from 6 second to 20 seconds to login.
The odd thing is that this only seems to happen with the Super User account that has ...
4
votes
2
answers
3k
views
Multisite: use media from one site vs. copying the same media to all language sites?
This is a business site with product images.
I have a multisite installation with 3 languages in 3 directories which will later be mapped to completely separate domains by the host when it's finished....
1
vote
0
answers
16
views
How can meta values from another site in a multisite be used in a custom query?
Currently, I am using the pre_get_posts action to create a custom query, ordering the posts based on a meta value like so:
add_action( 'pre_get_posts', 'my_custom_order' );
function my_custom_order( $...
0
votes
1
answer
6k
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 it's not working properly. When I try to login in wp-admin ...
4
votes
2
answers
3k
views
Wordpress multisite subdirectory redirect infinite loop issue
Any time I create a new site on my multisite install, I get an infinite loop redirect when navigating to that site's admin. I'm using the default htaccess supplied by WP for my subdirectory install. ...
0
votes
1
answer
1k
views
New multisite redirects to main site
I have created a new multisite and for some reason certain links redirect to the main site. For example if you go to http://team-isagenix.isagenixhealth.net and click on the October 2014 link under ...
0
votes
0
answers
3
views
Unable to change blog language in multisite
tl;dr No matter what I select in Site Language:
After hitting Save this value is always reset to English (United States). Where or what should I be looking for to resolve this?
I was playing a ...
0
votes
1
answer
18
views
How to create a build for quickly deploying a server with WP?
I have been looking for automation of a routine task for a long time: deploying a customized WP server with a pre-installed theme and plugins. The server must be on Nginx (optional OpenLightSpeed) + ...