• Resolved mikelip

    (@mikelip)


    Hi All

    Hi I use swift performance on my site https://www.medequipusa.com. I am currently redirecting the http to https. when i try and edit my .HTAccess file and add the following:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>

    i am getting an error and the site goes down. Does this have to do with Swift performance and where i put the statement in the HTAccess file?

    Thanks

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Fred

    (@fredawd)

    I noticed you already solved the problem ??

    In general this article may helpful.

    Thread Starter mikelip

    (@mikelip)

    I haven’t solved anything yet.

    Plugin Contributor Fred

    (@fredawd)

    Did you read the article?

    Remove rules in .htaccess and add this in Swift
    ##——Force HTTPS——##
    RewriteCond %{HTTPS} off
    RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    Header set Strict-Transport-Security “max-age=31536000” env=HTTPS

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