Title: SSL Cloudways Odd behavior
Last modified: February 11, 2018

---

# SSL Cloudways Odd behavior

 *  Resolved [terrelltechsup](https://wordpress.org/support/users/terrelltechsup/)
 * (@terrelltechsup)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/ssl-cloudways-odd-behavior/)
 * I am experiencing an odd issue with my Cloudways Digital Ocean instance. I am
   using their Lets Encrypt SSL option and have attempted to map a domain. I had
   to use both HTTP and HTTPS entries in the plugin to get it to work at all. With
   just HTTPS entries the domain would redirect back to the default domain homepage.
 * Root domain: [https://singlelistings.launchyourlistings.com/](https://singlelistings.launchyourlistings.com/)
 * Test Mapped domain: [https://lavernialistingexperts.com/](https://lavernialistingexperts.com/)
 * If you access [https://lavernialistingexperts.com/](https://lavernialistingexperts.com/)
   everything is fine but if you try to access lavernialistingexperts.com/ without
   designating HTTPS or you use HTTP you end up with the following: [https://lavernialistingexperts.com/listing/1131-haltown-castle-hills-tx-78213/](https://lavernialistingexperts.com/listing/1131-haltown-castle-hills-tx-78213/)
 * Any assistance preventing the slug from appearing would be much appreciated.
 * Josh Terrell
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fssl-cloudways-odd-behavior%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [terrelltechsup](https://wordpress.org/support/users/terrelltechsup/)
 * (@terrelltechsup)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/ssl-cloudways-odd-behavior/#post-9966862)
 * I fixed it in .htaccess prior to the plugin involvement:
 *     ```
       RewriteEngine On
       RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
       RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
       RewriteCond %{HTTP:X-Forwarded-Proto} !https
       RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
       ```
   
    -  This reply was modified 8 years, 1 month ago by [terrelltechsup](https://wordpress.org/support/users/terrelltechsup/).
 *  Plugin Author [matthias.wagner](https://wordpress.org/support/users/matthiaswagner/)
 * (@matthiaswagner)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/ssl-cloudways-odd-behavior/#post-9968212)
 * great to hear you found a solution!
    sorry that i could not respond to your first
   message earlier.
 * matt
 *  [Jon Hardison](https://wordpress.org/support/users/jonhardison/)
 * (@jonhardison)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/ssl-cloudways-odd-behavior/#post-10222681)
 * I’m experiencing exactly the same problem.
    Is this the official fix?
 * I dropped in what **terrelltechsup** added and it blew up the entire universe.
   LOL!
 * Strange that when I just visit the URL directly it’s fine. It’s only when I use
   the navigation through the site.
    -  This reply was modified 7 years, 11 months ago by [Jon Hardison](https://wordpress.org/support/users/jonhardison/).
 *  Plugin Author [matthias.wagner](https://wordpress.org/support/users/matthiaswagner/)
 * (@matthiaswagner)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/ssl-cloudways-odd-behavior/#post-10223738)
 * hy jon,
    let’s not call it an official fix, since i did not test it for myself
   in this hosting-environment 😉 the htaccess solution looks good since it redirects
   to https before any wordpress-code is executed. have you already tried to delete
   your entire browser cache while testing? this often leads to strange behaviour,
   since your browser saves content/redirections…
 * do you use the mapping for a page or any other part of your website?
 * [@terrelltechsup](https://wordpress.org/support/users/terrelltechsup/), did you
   add anything to your solution after this thread?
 * matt

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘SSL Cloudways Odd behavior’ is closed to new replies.

 * ![](https://ps.w.org/multiple-domain-mapping-on-single-site/assets/icon-256x256.
   png?rev=1595238)
 * [Multiple Domain Mapping on Single Site](https://wordpress.org/plugins/multiple-domain-mapping-on-single-site/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multiple-domain-mapping-on-single-site/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multiple-domain-mapping-on-single-site/)
 * [Active Topics](https://wordpress.org/support/plugin/multiple-domain-mapping-on-single-site/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multiple-domain-mapping-on-single-site/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multiple-domain-mapping-on-single-site/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [matthias.wagner](https://wordpress.org/support/users/matthiaswagner/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/ssl-cloudways-odd-behavior/#post-10223738)
 * Status: resolved