• dnmmalta

    (@dnmmalta)


    Hi,

    I am having issues with the below site sometimes:
    https://swiftcarhire.com

    On certain occasion it is showing as NOT SECURE, whereas it has an SSL Certificate installed, this does not happen all the time but occassionally. I have checked the website on whynopadlock.com and it is showing as perfect.

    Any ideas pls?

    Regards,
    Matthew

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

Viewing 15 replies - 1 through 15 (of 16 total)
  • Stef

    (@serafinnyc)

    Showing no errors on this side either. Console shows a perfectly secure SSL site. Next time you encounter it, write down the page and instance of it. Take a screenshot, etc. and look at console to see where it may be coming from.

    • This reply was modified 7 years ago by Stef.
    Thread Starter dnmmalta

    (@dnmmalta)

    I have just received another client stating that it is not secure, attached is his screenshot:
    Screenshot

    Thread Starter dnmmalta

    (@dnmmalta)

    okay… i have just noticed that on this particular page the http does not resolve to https:
    booking form

    Any ideas why pls?

    Stef

    (@serafinnyc)

    It’s the way you’re calling to fontawesome and a font I see.

    View post on imgur.com

    Thread Starter dnmmalta

    (@dnmmalta)

    thanks for your kind reply, any ideas how to fix it pls?

    Stef

    (@serafinnyc)

    Look somewhere in your theme of how they call to those files. Check functions file, header, footer.

    Thread Starter dnmmalta

    (@dnmmalta)

    checked those files and haven’t found anything linking to fontawesome but yet again i’m not a developer.

    Could it be that the below is affecting the way it resolves?

    General wordpress settings

    Stef

    (@serafinnyc)

    There you go!

    Thread Starter dnmmalta

    (@dnmmalta)

    do they need to be both https?

    Thread Starter dnmmalta

    (@dnmmalta)

    i did set them up both as https

    In my .htaccess file I have the below code:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    # BEGIN LiteSpeed
    <IfModule Litespeed>
    SetEnv noabort 1
    </IfModule>
    # END LiteSpeed
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_HOST} swiftcarhire\.com [NC]
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://swiftcarhire.com/$1 [R,L]
    </IfModule>
    # END WordPress
    Stef

    (@serafinnyc)

    Yes. But know that you may also have to add a redirect in your htaccess as well.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>

    Since I don’t know you’re entire make up I’m just throwing that out there.

    Thread Starter dnmmalta

    (@dnmmalta)

    done but problem is still persisting, my htaccess is looking like this now:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    # BEGIN LiteSpeed
    <IfModule Litespeed>
    SetEnv noabort 1
    </IfModule>
    # END LiteSpeed
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_HOST} swiftcarhire\.com [NC]
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://swiftcarhire.com/$1 [R,L]
    </IfModule>
    # END WordPress
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>
    Stef

    (@serafinnyc)

    It should look like this

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    
    # BEGIN LiteSpeed
    <IfModule Litespeed>
    SetEnv noabort 1
    </IfModule>
    # END LiteSpeed
    
    #301 from HTTP to HTTPS
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>
    #END 301
    Thread Starter dnmmalta

    (@dnmmalta)

    thanks for your reply, i think that i have managed to make it work with this code just before you replied, can you kindly check if it is ok, if not i will use your code:

    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    # BEGIN LiteSpeed
    <IfModule Litespeed>
    SetEnv noabort 1
    </IfModule>
    # END LiteSpeed
    
    # BEGIN GD-SSL
    <IfModule mod_rewrite.c>
    Options +FollowSymLinks
    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteCond %{HTTP_USER_AGENT} ^(.+)$
    RewriteCond %{SERVER_NAME} ^swiftcarhire\.com$ [OR]
    RewriteCond %{SERVER_NAME} ^www\.swiftcarhire\.com$
    RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
    Header add Strict-Transport-Security "max-age=300"
    </IfModule>
    # END GD-SSL
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    
    # BEGIN WordPress
    RewriteEngine On
    RewriteCond %{HTTP_HOST} swiftcarhire\.com [NC]
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://swiftcarhire.com/$1 [R,L]
    # END WordPress
    
    Stef

    (@serafinnyc)

    Yes, but don’t be using WORDPRESS for your comments 😉

    Comment correctly related to what it is your adding. In case someone else comes after you. You can’t have WORDPRESS for every comment line.

    # This is
    
    # end this
    
    #security mod start
    
    #security mod end
    

    so on

    • This reply was modified 7 years ago by Stef.
Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘SSL’ is closed to new replies.