Title: WP SSL Redirect
Author: Rehmat Alam
Published: <strong>22 พฤษภาคม 2017</strong>
Last modified: 5 มีนาคม 2025

---

Search plugins

![](https://ps.w.org/wp-ssl-redirect/assets/icon-256x256.png?rev=1662713)

# WP SSL Redirect

 By [Rehmat Alam](https://profiles.wordpress.org/rehmatworks/)

[Download](https://downloads.wordpress.org/plugin/wp-ssl-redirect.1.8.zip)

 * [Details](https://th.wordpress.org/plugins/wp-ssl-redirect/#description)
 * [Reviews](https://th.wordpress.org/plugins/wp-ssl-redirect/#reviews)
 * [Development](https://th.wordpress.org/plugins/wp-ssl-redirect/#developers)

 [Support](https://wordpress.org/support/plugin/wp-ssl-redirect/)

## Description

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.

## Reviews

![](https://secure.gravatar.com/avatar/4196897ec93024a3dab1326dab3d3df5ea61118aa50a4824dfd1251faaed3e49?
s=60&d=retro&r=g)

### 󠀁[Does what it says it does!](https://wordpress.org/support/topic/does-what-it-says-it-does-65/)󠁿

 [unaomnia](https://profiles.wordpress.org/unaomnia/) 22 มีนาคม 2018

So I was using Really Simple SSL, which is nice because it has more onsite features,
but I NEEDED this plugin to force www to non www and it handles the SSL so, I was
able to deactivate the redirection features of Really Simple SSL and just use WP
SSL Redirect. This was great, because that meant I didn’t have to edit my .htaccess
and risk it being overwritten later by a plugin or by saving the permalinks settings
or something unknown to me.

![](https://secure.gravatar.com/avatar/bfa365f87bd97835707cb8228ee2fcf38f18dad2c05a81c7c5bfee9df298fe3b?
s=60&d=retro&r=g)

### 󠀁[Automatic redirecting issue](https://wordpress.org/support/topic/automatic-redirecting-issue/)󠁿

 [gravietie](https://profiles.wordpress.org/gravietie/) 25 พฤศจิกายน 2017 1 reply

After I deactivated this plugin I couldn’t use WordPress, I can not sign in again
because it is automatically redirecting to another page that is not related to my
WordPress site, on the other hand I asked the author to help me to remove codes 
or database tables but he did not answer my questions.

![](https://secure.gravatar.com/avatar/4422117a2fd2b9345157ac75f2dc085ba98eb00b4538ad2549b48394805a2124?
s=60&d=retro&r=g)

### 󠀁[Perfect to Force non-WWW 301 Redirects](https://wordpress.org/support/topic/perfect-to-force-non-www-301-redirects/)󠁿

 [crouchback](https://profiles.wordpress.org/crouchback/) 10 ตุลาคม 2017

Exactly what I was looking for: a dead-simple way to force 301 redirects to my non-
www page without having to edit my .htaccess file myself. Nice work.

![](https://secure.gravatar.com/avatar/c7f1918e7dda74e774642451ea333853df7fe1230353db7286b7c89aa6073832?
s=60&d=retro&r=g)

### 󠀁[Worked for me.](https://wordpress.org/support/topic/worked-for-me-59/)󠁿

 [Sohail Ahmed](https://profiles.wordpress.org/meetsohail/) 29 กันยายน 2017

The best one, what i was looking for.

![](https://secure.gravatar.com/avatar/aad1befde5f64c4e35e0854c4f7be4f611c3e6fa058cf9d51403ffb4cb7abf55?
s=60&d=retro&r=g)

### 󠀁[Works perfectly](https://wordpress.org/support/topic/works-perfectly-1166/)󠁿

 [johnny58](https://profiles.wordpress.org/johnny58/) 23 พฤษภาคม 2017

I was struggling to apply the redirect using htaccess file and WP SSL Redirect saved
my day. Thanks for the devs’ efforts.

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/wp-ssl-redirect/reviews/)

## Contributors & Developers

“WP SSL Redirect” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Rehmat Alam ](https://profiles.wordpress.org/rehmatworks/)

[Translate “WP SSL Redirect” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-ssl-redirect)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-ssl-redirect/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-ssl-redirect/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-ssl-redirect/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-ssl-redirect/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.8**
 *  Last updated **1 ปี ago**
 *  Active installations **700+**
 *  WordPress version ** 5.5 or higher **
 *  Tested up to **6.7.5**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-ssl-redirect/)
 * Tags
 * [301](https://th.wordpress.org/plugins/tags/301/)[force](https://th.wordpress.org/plugins/tags/force/)
   [https](https://th.wordpress.org/plugins/tags/https/)[redirect](https://th.wordpress.org/plugins/tags/redirect/)
   [ssl](https://th.wordpress.org/plugins/tags/ssl/)
 *  [Advanced View](https://th.wordpress.org/plugins/wp-ssl-redirect/advanced/)

## Ratings

 4.2 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/wp-ssl-redirect/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-ssl-redirect/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-ssl-redirect/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-ssl-redirect/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/wp-ssl-redirect/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-ssl-redirect/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-ssl-redirect/reviews/)

## Contributors

 *   [ Rehmat Alam ](https://profiles.wordpress.org/rehmatworks/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-ssl-redirect/)