Split: http error with multi site and domain mapping

I’m also getting the http error upon media uploads from frontend uploading inside Beaver Builder. This only happens on mapped domains and not on subdomains that are not mapped. I’m using WPMUDev’s Domain Mapping.

Hey Robbie,

Sorry to hear you’re having trouble. Just wondering, have you tried doing the steps mentioned above?

Ben

I’ve added the .htaccess rule. I’m using WPMUDEV Domain Mapping Plugin and do not see any option for permanent redirect.

Here is my PHP info: http://localbiz.us.com/phpinfo.php

WP Install: http:localbiz.us.com
Using WPMUDEV Domain Mapping forcing SSL on primary domain with wildcard SSL and using primary domain for mapped domains admin.

Would you like for your members to be logged into all sites within your network regardless of domain name?: Yes, also Load Cross-domain autologin asynchronously

Example: frontend: http://mappeddomain.com -> admin: https://mappeddomain.localbiz.us.com/wp-admin

Hey Robbie,

Sorry I had to split your reply to another thread. What’s the error that you’re getting? Also, do you mind sending in temp admin access to the site so we can check? You can use the private reply option below.

Ben

[Content Hidden]

The error message is “HTTP Error” Nothing more is said even with Debug set to TRUE.

This message is seen upon attempting to upload a media file from within beaver builder on frontend of a mapped domain. Unable to upload media from beaver builder into media library on a mapped domain.

I am able to upload media into library from admin backend.

[Content Hidden]

Hey Robbie,

I tried uploading and I’m getting an insecure response error in the console. It seems this has something to do with securing the mapped domain with SSL.

Ben

[Content Hidden]

Incredible! Unbelievable!

After hours of hair pulling…

I removed this line from wp-config and all is well!

define( ‘FORCE_SSL_ADMIN’, true );

My assumption is that the WPMUDEV Domain Mapping plugin takes care of this when appropriate and was causing a conflict.

If anyone knows more about this, please feel free to chime in.

Hey Robbie,

Not really an expert on domain mapping, multisite, nor SSL but I think it is also a problem where your backend is on SSL but your mapped frontend isn’t. Securing the frontend through SSL should fix your problem as well.

Ben

Yes, thanks Ben for looking into this issue. I have secured the frontend of the primary domain and site admins log into subdomain of their mapped domain for backend wp-admin access with SSL.

Everything is functioning as expected and Beaver Builder is working flawlessly on WP multisite with SSL enabled.

Hey Robbie,

That’s good to hear! I’ll be marking this as resolved then. Enjoy BB! :slight_smile:

Ben