Questions tagged [multisite]

The Wordpress blog engine has a resource called MultiSite which allow you to have multiples websites in a single wordpress instance.

In WordPress there is a resource called MultiSite. It is a special mode built into WordPress, which allows you to create a network of multiple websites, all running on a single installation of WordPress.

794 questions
34
votes
1 answer

How to adapt my plugin to Multisite?

I have many plugins that I wrote for WordPress, and now I want to adapt them to MU. What are the considerations / best practices / workflow / functions / pitfalls that I have to follow / avoid / adapt in order to 'upgrade' my plugins to support also…
Obmerk Kronen
  • 15,619
  • 16
  • 66
  • 105
18
votes
2 answers

.htaccess rewrite with WordPress plugin

I am working on building a WordPress plugin for a custom WordPress multisite network and have a few files that use URL variables to load information from a second database (not the WordPress database). In the version built outside of WordPress by…
Dustin Snider
  • 678
  • 1
  • 8
  • 29
16
votes
3 answers

How can I create and load a second database in ddev?

I have a Drupal multisite that needs to have one database for each site, and want it to run in ddev, but ddev just has the one database by default, named 'db'. How can I get a second database?
rfay
  • 9,963
  • 1
  • 47
  • 89
13
votes
2 answers

Caddy configuration for Wordpress multisite

I'm trying to setup a Wordpress website with multisite: example.com example.com/fr With the following Caddyfile: example.com:80 { redir https://www.example.com{uri} } www.example.com:80 { root /app/public gzip fastcgi /…
Samber
  • 153
  • 1
  • 8
11
votes
6 answers

Wordpress Multisite: Subsite wp-admin "err_too_many_redirects"

i installed a new WordPress 4.1 multisite I can navegate Front and access to the main site dashboard http://blog.urlcorrect.com/wp-admin/ I created a subsite and i can´t access to the subsite dashboard http://blog.urlcorrect.com/br/wp-admin/ I…
Pyaw
  • 111
  • 1
  • 1
  • 6
9
votes
2 answers

Laravel 5: How to enable environment based public resources like css, js, images

we have built a multi environment application over laravel 5 with environment based configurations and views, now the problem arises when we try to use environment based public resources like css, js and images, as they are in public directory and…
smkhan
  • 133
  • 7
7
votes
4 answers

Sync ACF fields across sites on WP multisite

I've been searching for a way to sync ACF fields across sites on a WordPress multi-site. There are 5 sites with individual content but they all use the same ACF fields. I'd rather avoid having to manually create and add these new fields on each…
Staffan Estberg
  • 6,795
  • 16
  • 71
  • 107
7
votes
1 answer

Adding load balancer to a wordpress multisite installation

I am trying to add a load balancer to a wordpress application which has multi-site installation. WordPress saves the server IP address in MySQL tables, since there would be two application servers and a single DB server and a load balancer. i am…
opensource-developer
  • 2,826
  • 4
  • 38
  • 88
7
votes
1 answer

sylius or sonata or custom for subscription based application

We are going to build something like cratejoy.com, but don't want spend lot's of time building which is already builded before for developers. I was going through sonata and sylius, but not sure if we can build subscription based model with one of…
Basit
  • 16,316
  • 31
  • 93
  • 154
6
votes
2 answers

Wordpress - Manually link two post translation with polylang

I am currently developing a plugin for multiposting on multisite wordpress. I wanted the plugin to work with Polylang, it works well when it comes to setting the right language, but i can't find a way to connect to its other translations ( when i…
kristengwd
  • 81
  • 1
  • 4
5
votes
1 answer

Two WordPress Multisite installation in different subdirectories

I have a WordPress Multisite installation here: mydomain.com I use it to have different languages like: mydomain.com/fr mydomain.com/de ... Now we are changing design, but we would like to do step by step, language by language. So we have…
FlamingMoe
  • 2,709
  • 5
  • 39
  • 64
5
votes
3 answers

Administrator role in WordPress multisite is getting content stripped out when saving pages

I have a WordPress multisite set up and am trying to save page content with data-attributes on some html tags. Super Users are able to save with no issue, however when Administrators or lower roles save, it strips out the data-attributes that are in…
5
votes
3 answers

Allow access to certain locations via IP whitelist only in NGINX

I am using Sucuri Scanner to notify me of failed login attempts and I am currently getting about 50+ emails a day. I've tried several different ways to block access to wp-login.php and wp-admin without any luck, because I think these rules possibly…
Mitch Malone
  • 882
  • 6
  • 17
5
votes
1 answer

WordPress Multisite directory nginx config

I am trying to setup WordPress Multisite with subdirectories behind nginx. Initially my WordPress was hosted at https://example.com/wordpress, and now I am moving it to Multisite. wp-config.php seems fine: define('WP_DEBUG', false); define(…
Somesh
  • 1,235
  • 2
  • 13
  • 29
4
votes
1 answer

Clearcase multisite vs Gitlab.... anything?

The company I work for uses Clearcase, even though it was EOL'd on the platforms in which we run it years ago. It is ancient and fragile tech, but one thing it does have is a multisite support that allows for the synchronization of air-gapped repos.…
Juan Jimenez
  • 443
  • 4
  • 18
1
2 3
52 53