Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Maybe you can try forcing https protocol on your URL. Use the following code in your .htaccess file to force https on your website.

    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://yourdomain.com/$1 [R=301,L]

    You can also read this article from SiteGround on How to force SSL with .htaccess.

    Cheers!

    Thread Starter algraham93

    (@algraham93)

    Hi!

    Thanks for your reply! It didn’t work still. When I type in domain.com it redirects to https and www perfectly. But when I type in domain.com/example it goes to www fine but not https although the page is infact https.

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Forcing HTTPS AND www’ is closed to new replies.