• Resolved bbcreativeperth

    (@bbcreativeperth)


    Hi,

    I can get the domain mapping on http but not https.

    I’ve added the mapped domain as a parked domain on the main domain’s hosting account.

    I’ve tried adding both the http and https as mapped domains but i need it to redirect to the https version. I then tried adding the force rewrite into the htaccess as per another thread but that doesn’t work.

    Any ideas please?

    Thanks,
    Ben

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author matthias.wagner

    (@matthiaswagner)

    hy ben,

    so you have all those mappings defined?
    1. non-www, http
    2. www, http
    3. non-www, https
    4. www. https

    after that, the mapping will work. if you want to redirect to https only, i do not know any simpler solution than the htaccess code:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    
    #First rewrite any request to use the www subdomain and https
    RewriteCond %{HTTP_HOST} !^www\.
    RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    
    #Now, rewrite everything that does not use https to use https:
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>

    maybe you could also achieve this with a plugin like “redirection”.

    matt

    Thread Starter bbcreativeperth

    (@bbcreativeperth)

    Thanks Matt. It started working when i put http and https as values. I was going to delete this thread but it wouldn’t log in. Can you please delete it for me?

    Plugin Author matthias.wagner

    (@matthiaswagner)

    hy,
    great to hear. i know that this is something we should have fixed for a long time, but since the plugin is only a “by-product” of our work for clients, we do not have much ressources for it.
    no need to delete the thread – it will help other users ??

    if you like the plugin we are happy about a positive review or in case you use it commercially also a small donation via matthias-wagner.at ??

    matt

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Help with SSL’ is closed to new replies.