Support » Multisite » Redirect subdomains from https to http

Redirect subdomains from https to http

  • So I have installed my Wp MU the other day, I installed a SSL certificate for my main domain, which is https://makay.ro
    Everything works fine except for the subdomains which are also served through SSL. The issue is that when I try to access a subdomain like http://sub.makay.ro, I get redirected to the https version and first I get to see a warning page “There is a problem with this website’s security certificate.”
    The certificate I bought is not an wildcard cert, is only for my main domain. I want to have the https disabled for all subdomains and have it work only for my main domain. How can I achieve this?

    I have these rules added to my htaccess to redirect from http to https my main domain:

    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://makay.ro/$1 [R,L]

    I am using SSL Insecure Content Fixer plugin to load my media upload files through https.

    I have added the 2 lines of code to my wp-config to have the login page and admin dashboard served through https.

    If you need any info, please let me know.


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Redirect subdomains from https to http’ is closed to new replies.