straightvisions

Force HTTPS

Recommended Posts

If a WordPress site has IPBWI for WordPress v4 plugin activated and an IPS connect Key saved in settings, it will be added as slave to IP.board. If the same WordPress site is available on both, http://domain.example and https://domain.example, there will be a security mismatch key error. Please decide whether your domain is available on HTTP oder HTTPS completely and force a redirect. You may use the following htaccess code to force a 301 redirect to HTTPS. Finally, please clean your IPS table "core_ipsconnect_slaves" e.g. via PHPmyAdmin, from the false entries.

  • # Force HTTPS
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] 

     

Share this post


Link to post
Share on other sites