Title: HTTPS Enforce broke an Elementor website
Last modified: August 17, 2023

---

# HTTPS Enforce broke an Elementor website

 *  Resolved [valentino08](https://wordpress.org/support/users/valentino08/)
 * (@valentino08)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/https-enforce-broke-an-elementor-website/)
 * Good day! on toggling the HTTPS Enforce function it gave an error and most of
   the website pages broke (some survived). Is there a way to revert the changes(
   without restoring to backup). Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhttps-enforce-broke-an-elementor-website%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Daniela Ivanova](https://wordpress.org/support/users/daniellaivanova/)
 * (@daniellaivanova)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/https-enforce-broke-an-elementor-website/#post-16979176)
 * Hello [@valentino08](https://wordpress.org/support/users/valentino08/),
 * When you enable HTTPS Enforce, the following set of rules is added to the .htaccess
   file of your website:
 *     ```wp-block-code
       # HTTPS forced by SG-Optimizer
       <IfModule mod_rewrite.c>
           RewriteEngine On
   
           RewriteCond %{HTTP:X-Forwarded-Proto} !https
           RewriteCond %{HTTPS} off
           RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
       </IfModule>
       # END HTTPS
       ```
   
 * To disable the HTTPS Enforce option without logging into the website’s Dashboard,
   just delete the aforementioned lines.
 * Best regards,
   Daniela Ivanova
 *  Thread Starter [valentino08](https://wordpress.org/support/users/valentino08/)
 * (@valentino08)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/https-enforce-broke-an-elementor-website/#post-16979572)
 * Did this! however nothing changed in the affected pages. Maybe you can suggest
   further actions?
 *  Thread Starter [valentino08](https://wordpress.org/support/users/valentino08/)
 * (@valentino08)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/https-enforce-broke-an-elementor-website/#post-16979630)
 * the answer was to reset permalink structure to standart. thank you very much!
   have a nice day

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

The topic ‘HTTPS Enforce broke an Elementor website’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [valentino08](https://wordpress.org/support/users/valentino08/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/https-enforce-broke-an-elementor-website/#post-16979630)
 * Status: resolved