• Hi all,
    I’am using gtmatrix to optimize my website to the fulles, the longest waiting is for https and http link of my website, longer being https.
    Question is the https redirect really needed ?
    If no how do i stop redirecting it from http to https ?
    Thank you !

    • This topic was modified 6 years, 5 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    First, think about it, 0.6 seconds isn’t really that big of a deal. 😉

    HTTPS encrypts your sites connection, that means that you won’t have to worry about someone capturing your password or spoofing your user session over shared wifi (like at a coffee shop, school, library, workplace, etc), and it means that the visitor’s history on your site can’t be intercepted and scraped by their ISP.

    Basically, HTTPS is a great thing for both security and privacy reasons.

    As for the site redirecting, that’s just going to have to happen for any traffic coming in via http:// Over time, you’ll start to populate some https:// links and there will be less and less redirected traffic.

    Only if you want to protect your data with encryption. Firefox and Chrome are starting to not load http sites anymore. Your users may not get to your site without a certificate and https.

    Thread Starter wordexplorer

    (@wordexplorer)

    It seems that today (after trying to optimize it further which resulted in longer redirects) i dont know why. Now its 1.02s for redirection from http to https + it redirects from https to non www https, overall just redirecting takes about 2 seconds of my loading. Any way to change this 😕

    Edit, okay i managed to fix it by changing domain name www in general settings, but still, it takes 300s to load http and then redirect to https 600.
    Is there way to speed this up?

    • This reply was modified 6 years, 5 months ago by wordexplorer.
    Moderator James Huff

    (@macmanx)

    How are you doing the redirection? Normally I recommend this:

    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
    Thread Starter wordexplorer

    (@wordexplorer)

    Hi,
    Thanks for that
    I was using this code

    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

    I used your one, it seems to do about the same.
    One more question.
    How can i stop redirecting it from www to no www. It takes about 0.6s which would bring it down to about 1,3s load time in total and non www is useless i think, i dont mind it being www

    Thanks

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

The topic ‘Is https necessary ? It takes 0.6 second from loading my website’ is closed to new replies.