Mobile app version of vmapp.org
Login or Join
Turnbaugh106

: Redirecting to HTTPS on WordPress? I recently upgraded my site to SSL and I was wondering if I should force my traffic to HTTPS rather than leave access to HTTP? If so how should I go about

@Turnbaugh106

Posted in: #Https #Redirects #Wordpress

I recently upgraded my site to SSL and I was wondering if I should force my traffic to HTTPS rather than leave access to HTTP?

If so how should I go about doing this on WordPress?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Turnbaugh106

1 Comments

Sorted by latest first Latest Oldest Best

 

@Goswami781

It is a good idea, but be warned, you may encounter many "mixed content" warnings where some content is loaded over http. This will happen with hard coded links to things like google fonts and images. If this happens, your page will be regarded as insecure.

Having said that, if you want to force to https add the following to your .htaccess file

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

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme