WP SSL Redirect

November 12, 2022

WP SSL Redirect Plugin

A very tiny plugin to force SSL on WordPress websites (via 301 redirects for SEO purpose).

WP SSL Redirect simply forces the SSL on your WordPress website by applying a 301 redirect from the HTTP path to HTTPS path. Please note that this plugin doesn’t install or configure any SSL certificate, instead it simply applies a 301 redirect to force the SSL on a WordPress website where a valid SSL is already properly installed.

1.3

  • Added options to force www or non-www

1.3.1

  • A minor bug fix regarding query vars

1.3.2

  • Fixed a major bug related to sub-directory installations

1.4

  • Rewrote the redirection code to make it even simpler
  • Disabled the website URL update in the database

1.5

  • Bug fixes

1.6

  • Compatibility test with WordPress 6.1

FAQ

Does this plugin install or configure SSL?

No.

Does this plugin make any changes to the file system or database?

No changes are made to file system or the database.

How does WP SSL Redirect perform the redirect?

The plugin makes use of $_SERVER array to check either the URL is accessed over HTTPS or HTTP. If the request is made over HTTP, then the plugin sends a 301 redirect header and performs the redirect to the HTTPS version of the same URL.

301 Redirect is Not Working

If WP_SITEURL and WP_HOME are hardcoded in your WordPress website’s wp-config.php file, then uncomment or delete these two constants, otherwise WP SSL Redirect’s 301 redirect may not work properly.

Details

  • Version: 1.6
  • Active installations: 900
  • Tested up to: 6.1.7

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars