Not a WPMU DEV member?
Get access to super-powered hosting, site management tools for all your sites on any host, 24/7 live support, premium plugins, and private member forums!
Learn more Already a member? Login

-
hannes commented on [Domain Mapping] Domain Mapping and htaccessMay 29, 2018
I tried really simple ssl thats the solution everything works fine thanks for your support -
hannes commented on [Domain Mapping] Domain Mapping and htaccessMay 29, 2018
I had cleaned everything in the htaccess only this is in: RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L] RewriteRule . index.php [L] the mapped domains in the domain mapping tool are with https. I always mapped 2 domains => https://www.exampledomain.de and https://exampledomain.de and marked the first with www as primary domain. now typing exampledomain.de in the brwoser will redirect to: https://www.exampledomain.de thats cool, but .... typing www.exampledomain.de direct in the brwoser (forget the http:// in front i can not delete it here in the mask) will not redirect to https://www.exampledomain.de nothing happens than! when i use your code: `RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} !^www.examplemappedomain1.de [NC] RewriteRule ^(.*)$ https://www.examplemappedomain1.de/$1 [L,R=301]` all other mapped domains will redirect to this domain. So my quastion was how to setup the htacess right for the main domain, the domains with ssl and the domains without ssl thanks for help -
hannes commented on [Domain Mapping] Domain Mapping and htaccessMay 28, 2018
when i put it directly under "RewriteEngine on" it works very well but all sites of my multisite will drop to https://www.examplemappedomain1.de/$1 also the main site and all the sites with no certificate will als get an https in front of it. when i put it down the other redirects it will not effect! To understand my problem better: I have a multisite with many site, some have an ssl certificate for their mapped domains and some not, so i need a solution for both. Or do i have to define all sites that it will work, when it is so, can you please give me an example how it should look for the main site, a site with https and a site with no https To bring non-www Adresses i used the domain mapping plugin and made the www-version to the primary domain. Also have alook at my htaccess: RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L] RewriteRule . index.php [L] RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} !^www.examplemappeddomain1.de [NC] RewriteRule ^(.*)$ https://www.examplemappeddomain1.de/$1 [L,R=301] RewriteCond %{SERVER_PORT} !^443$ RewriteRule (.*) https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] -
hannes commented on New Snapshot open_basedirJun 28, 2017
I have the same problems, all the Versions before everything works fine, now we should downgrade the security to make something work that works fine all the time???? Also i can save the backups outside the webroot without deactivating open base dir! Not everybody has an root server to make this changes! -
hannes commented on Smart Crawl on multisitesApr 06, 2017
delete it it was my fault didn`t activated the sections in the plugin under settings -
-
Upgrade Membership
Hello - you seem to have stumbled upon a super-secret ultra-private members-only page on the WPMU DEV forums. This is where people go to discuss their business secrets and development tips. Want in?
- Access to business, marketing and development sparring with peers
- Access to business, marketing and development sparring with peers
- Access to all our premium plugins
- Access to all our premium plugins
- Full Security, SEO, Backup and Performance service suites
- Full Security, SEO, Backup and Performance service suites