• Kanth

    (@srikanthpulluru)


    Hi,

    I am using wordpress multisite, wildcard SSL is configured on main domain(domain1.org), Created multisite sub.domain1.org

    I have a domain ‘domain2.com’ i mapped my sub.domain1.org to domain2.com and set it as a primary domain in domain mapping setting

    now when i going to visit domain2.com i am facing error ‘This is probably not the site you are looking for!’

    1. How should i ignore SSL for domain2.com or remove ssl error, i dont want SSL for domain2.com
    2. Don’t want to redirect domain2.com to sub.domain1.org
    3. To know whether ‘domain2.com’ loads as http instead of https

    https://www.ads-software.com/plugins/wordpress-mu-domain-mapping/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Ron Rennick

    (@wpmuguru)

    You need to update your wildcard SSL cert to include domain2.com.

    Thread Starter Kanth

    (@srikanthpulluru)

    i don’t want to update SSL for domain2.com, whether it is possible?

    After domain mapping it should come like https://domain2.com. sorry i don’t have much knowledge on domain mapping, SSl.

    Thanks & Regards,

    Plugin Author Ron Rennick

    (@wpmuguru)

    How are you forcing SSL on your main network?

    Thread Starter Kanth

    (@srikanthpulluru)

    After updating wildcard SSL I changed wp-config file, .htaccess file
    Added Below code
    wp-config code
    define(‘FORCE_SSL_ADMIN’, true);
    define(‘FORCE_SSL_LOGIN’, true);
    define(‘RELOCATE’,true);
    define(‘WP_HOME’,’https://domain1.org/’);
    define(‘WP_SITEURL’,’https://domain1.org/’);
    if (isset($_SERVER[‘HTTP_X_FORWARDED_PROTO’]) && $_SERVER[‘HTTP_X_FORWARDED_PROTO’] == ‘https’)
    $_SERVER[‘HTTPS’] = ‘on’;

    .htaccess code
    # BEGIN SSL
    RewriteEngine on
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    # END SSL

    Plugin Author Ron Rennick

    (@wpmuguru)

    This is forcing your mapped domain to SSL:

    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    Thread Starter Kanth

    (@srikanthpulluru)

    Sorry Ron it dint clear my doubt.

    Kindly let us know whether the below mention thing are possible or not

    I want ssl for https://domain.org
    I dont want ssl for mapped domain https://domain2.com

    Removing “This is probably not the site you are looking for!” error with out updating/installing SSL for https://domain2.com is it possible if possible kindly share your thoughts

    Thanks & Regards.

    Plugin Author Ron Rennick

    (@wpmuguru)

    If someone else set up your SSL for you you will have to contact them to adjust your rewrite rules so that the mapped domain isn’t forced to SSL.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Multisite SSL Domain Mapping to Non SSL Domain’ is closed to new replies.