Title: Http to Https redirection works fine, excepted on homepage
Last modified: April 8, 2021

---

# Http to Https redirection works fine, excepted on homepage

 *  Resolved [byothe](https://wordpress.org/support/users/byothe/)
 * (@byothe)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/http-to-https-redirection-work-excepted-on-homepage/)
 * Hello
 * I use Realy Simple SSL and it’s a very nice plugin.
    But I just observed that
   http to https redirection was working fine on any articles… For exemple : [http://byothe.fr/2021/04/modele-de-processeur-de-mon-pc/](http://byothe.fr/2021/04/modele-de-processeur-de-mon-pc/)
 * But it doesn’t work for the homepage : [http://byothe.fr](http://byothe.fr)
 * I tried every options available in the plugin.
    My host is Hostinger and use 
   LiteSpeed servers.
 * ———
 *     ```
       General
       Domain: https://byothe.fr
       Plugin version: 4.0.13
       SSL certificate is valid
       SSL is enabled
   
       Options
       * Mixed content fixer
       * htaccess redirect
   
       Server information
       Server: litespeed
       SSL Type: NA
   
       Constants
       No constants defined
       ```
   
    -  This topic was modified 5 years, 2 months ago by [byothe](https://wordpress.org/support/users/byothe/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhttp-to-https-redirection-work-excepted-on-homepage%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/http-to-https-redirection-work-excepted-on-homepage/#post-14296322)
 * Hi [@byothe](https://wordpress.org/support/users/byothe/),
 * Did you enable the 301 .htaccess redirect in settings/ssl? That should resolve
   any redirection issue which might be caused by caching.
 *  Thread Starter [byothe](https://wordpress.org/support/users/byothe/)
 * (@byothe)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/http-to-https-redirection-work-excepted-on-homepage/#post-14296535)
 * Hello Rogier,
 * I have activated the 301 .htacces redirect…
    ANd the weird thing is redirection
   work on all articles but not on homepage…
 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/http-to-https-redirection-work-excepted-on-homepage/#post-14297603)
 * Are there any other .htaccess rules in the .htaccess file which might conflict?
   If possible, please post the .htaccess contents here so I can check it.
 *  Thread Starter [byothe](https://wordpress.org/support/users/byothe/)
 * (@byothe)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/http-to-https-redirection-work-excepted-on-homepage/#post-14297771)
 * Here you go 🙂
 *     ```
       # BEGIN LSCACHE
       ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
       <IfModule LiteSpeed>
       	RewriteEngine on
       	CacheLookup on
       	RewriteRule .* - [E=Cache-Control:no-autoflush]
       	RewriteRule \.object-cache\.ini - [F,L]
   
       ### marker CACHE RESOURCE start ###
       	RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php - [E=cache-control:max-age=3600]
       ### marker CACHE RESOURCE end ###
   
       ### marker FAVICON start ###
       	RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400]
       ### marker FAVICON end ###
   
       ### marker DROPQS start ###
       	CacheKeyModify -qs:fbclid
       	CacheKeyModify -qs:gclid
       	CacheKeyModify -qs:utm*
       	CacheKeyModify -qs:_ga
       ### marker DROPQS end ###
   
       </IfModule>
       ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
       # END LSCACHE
       # BEGIN NON_LSCACHE
       ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
       ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
       # END NON_LSCACHE
   
       # BEGIN rlrssslReallySimpleSSL rsssl_version[4.0.13]
       <IfModule mod_rewrite.c>
       RewriteEngine on
       RewriteCond %{HTTP:X-Forwarded-Proto} !https
       RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
       </IfModule>
       # END rlrssslReallySimpleSSL
       # BEGIN WordPress
       # Les directives (lignes) entre « BEGIN WordPress » et « END WordPress » sont générées
       # dynamiquement, et doivent être modifiées uniquement via les filtres WordPress.
       # Toute modification des directives situées entre ces marqueurs sera surchargée.
       <IfModule mod_rewrite.c>
       	RewriteEngine On
       	RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
       	RewriteBase /
       	RewriteRule ^index\.php$ - [L]
       	RewriteCond %{REQUEST_FILENAME} !-f
       	RewriteCond %{REQUEST_FILENAME} !-d
       	RewriteRule . /index.php [L]
       </IfModule>
   
       # END WordPress
       # AMPFORWPLBROWSERCSTART Browser Caching
       <IfModule mod_expires.c>
       	ExpiresActive On
       	AddType application/vnd.ms-fontobject .eot
       	AddType application/x-font-ttf .ttf
       	AddType application/x-font-opentype .otf
       	AddType application/x-font-woff .woff
       	AddType image/svg+xml .svg
       	ExpiresByType application/vnd.ms-fontobject "access 1 year"
       	ExpiresByType application/x-font-ttf "access 1 year"
       	ExpiresByType application/x-font-opentype "access 1 year"
       	ExpiresByType application/x-font-woff "access 1 year"
       	ExpiresByType image/svg+xml "access 1 year"
       	ExpiresByType image/webp "access 1 year"
       	ExpiresByType image/gif "access 1 year"
       	ExpiresByType image/jpg "access 1 year"
       	ExpiresByType image/jpeg "access 1 year"
       	ExpiresByType image/png "access 1 year"
       	ExpiresByType image/x-icon "access 1 year"
       	ExpiresByType text/css "access 3 month"
       	ExpiresByType text/javascript "access 3 month"
       	ExpiresByType application/javascript "access 3 month"
       	ExpiresByType application/x-javascript "access 3 month"
       	ExpiresByType application/xhtml-xml "access 3 month"
       	ExpiresByType application/pdf "access 3 month"
       	ExpiresByType application/x-shockwave-flash "access 3 month"
       </IfModule>
       # END Caching AMPFORWPLBROWSERCEND
       ```
   
 *  Thread Starter [byothe](https://wordpress.org/support/users/byothe/)
 * (@byothe)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/http-to-https-redirection-work-excepted-on-homepage/#post-14298253)
 * Ok ROgier,
 * After a lot of investigation, it appears that it was coming from my CDN cache
   that was not purging…
    THank you for your help
 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/http-to-https-redirection-work-excepted-on-homepage/#post-14298448)
 * Ah… Thanks for the update.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Http to Https redirection works fine, excepted on homepage’ is closed
to new replies.

 * ![](https://ps.w.org/really-simple-ssl/assets/icon-256x256.png?rev=2839720)
 * [Really Simple Security - Simple and Performant Security (formerly Really Simple SSL)](https://wordpress.org/plugins/really-simple-ssl/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-ssl/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-ssl/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-ssl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-ssl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-ssl/reviews/)

## Tags

 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * 6 replies
 * 2 participants
 * Last reply from: [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/http-to-https-redirection-work-excepted-on-homepage/#post-14298448)
 * Status: resolved