• Resolved valentino08

    (@valentino08)


    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 to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support daniellaivanova

    (@daniellaivanova)

    Hello @valentino08,

    When you enable HTTPS Enforce, the following set of rules is added to the .htaccess file of your website:

    # 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

    (@valentino08)

    Did this! however nothing changed in the affected pages. Maybe you can suggest further actions?

    Thread Starter valentino08

    (@valentino08)

    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.