Direct link to pages other than my landing page don’t redirect to https

[ad_1]

My website has an ssl certificate via Bluehost, and the landing page automatically redirects to https if a user doesn’t prepend https on the address bar. Additionally, other pages on my website are secured by https if clicked to via internal links on my website. However, if a user visits any other page on my website via the address bar without prepending https, they don’t get redirected to https. Are there any ways to fix this? I’ve tested this on multiple browsers, and all have the same issue.

[ad_2]
3 Comments
  1. Not a wordpress question. Talk to Bluehost about editing your .htaccess file or httpd.conf to provide this functionality.

  2. Htaccess – add:

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

  3. i would suggest talking to your hosting provider. It sounds like you can resolve it by updating .htaccess file

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer