Title: WP SSL Redirect
Author: Rehmat Alam
Published: <strong>22 mai 2017</strong>
Last modified: 5 mars 2025

---

Recherche d’extensions

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

# WP SSL Redirect

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

[Télécharger](https://downloads.wordpress.org/plugin/wp-ssl-redirect.1.8.zip)

 * [Détails](https://fr.wordpress.org/plugins/wp-ssl-redirect/#description)
 * [Avis](https://fr.wordpress.org/plugins/wp-ssl-redirect/#reviews)
 * [Développement](https://fr.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.

## Avis

![](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 mars 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 novembre 2017 1 réponse

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 octobre 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 septembre 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 mai 2017

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

 [ Lire les 5 avis ](https://wordpress.org/support/plugin/wp-ssl-redirect/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« WP SSL Redirect » est un logiciel libre. Les personnes suivantes ont contribué
à cette extension.

Contributeurs

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

[Traduisez « WP SSL Redirect » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/wp-ssl-redirect)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/wp-ssl-redirect/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/wp-ssl-redirect/), ou
s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/wp-ssl-redirect/)
par [RSS](https://plugins.trac.wordpress.org/log/wp-ssl-redirect/?limit=100&mode=stop_on_copy&format=rss).

## Méta

 *  Version **1.8**
 *  Dernière mise à jour **il y a 1 an**
 *  Installations actives **700+**
 *  Version de WordPress ** 5.5 ou plus **
 *  Testé jusqu’à **6.7.5**
 *  Version de PHP ** 7.0 ou plus **
 *  Langue
 * [English (US)](https://wordpress.org/plugins/wp-ssl-redirect/)
 * Étiquettes
 * [301](https://fr.wordpress.org/plugins/tags/301/)[force](https://fr.wordpress.org/plugins/tags/force/)
   [https](https://fr.wordpress.org/plugins/tags/https/)[redirect](https://fr.wordpress.org/plugins/tags/redirect/)
   [ssl](https://fr.wordpress.org/plugins/tags/ssl/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/wp-ssl-redirect/advanced/)

## Évaluations

 4.2 sur 5 étoiles.

 *  [  4 avis à 5 étoiles     ](https://wordpress.org/support/plugin/wp-ssl-redirect/reviews/?filter=5)
 *  [  0 avis à 4 étoile     ](https://wordpress.org/support/plugin/wp-ssl-redirect/reviews/?filter=4)
 *  [  0 avis à 3 étoile     ](https://wordpress.org/support/plugin/wp-ssl-redirect/reviews/?filter=3)
 *  [  0 avis à 2 étoile     ](https://wordpress.org/support/plugin/wp-ssl-redirect/reviews/?filter=2)
 *  [  1 avis à 1 étoile     ](https://wordpress.org/support/plugin/wp-ssl-redirect/reviews/?filter=1)

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

[Voir tous les avis](https://wordpress.org/support/plugin/wp-ssl-redirect/reviews/)

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

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