Title: WordPress https site
Last modified: August 21, 2016

---

# WordPress https site

 *  Resolved [Cartographer](https://wordpress.org/support/users/cartographer/)
 * (@cartographer)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-https-site/)
 * Hi,
 * First of all, congratulations for your work!
 * I would like to point out a problem.
 * I use https as my default wordpress address (Settings – General). Before using
   your plugin everyone who visited my website using [http://www.example.com](http://www.example.com)
   was redirected to [https://www.example.com](https://www.example.com).
 * After using the WP Fastest Cache the redirection stopped. Maybe it has something
   to do with changes in .htaccess.
 * I would really like your help as I want to use your plugin which is great!
 * Thanks in advance
 * [https://wordpress.org/plugins/wp-fastest-cache/](https://wordpress.org/plugins/wp-fastest-cache/)

Viewing 15 replies - 1 through 15 (of 31 total)

1 [2](https://wordpress.org/support/topic/wordpress-https-site/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/wordpress-https-site/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/wordpress-https-site/page/2/?output_format=md)

 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-https-site/#post-4575206)
 * actually I didn’t test it with https because not many users use with https. I
   have added it into toDo list. I will fix it and inform you. thank you…
 *  Thread Starter [Cartographer](https://wordpress.org/support/users/cartographer/)
 * (@cartographer)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-https-site/#post-4575265)
 * Hi,
 * Thank you. This will be a very good addition and mandatory for many of us. Hope
   you will have it soon.
 * Again, congratulations.
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-https-site/#post-4575272)
 * in .htaccess there is a line like “RewriteCond %{HTTPS} !on” . Can you convert
   it to RewriteCond %{HTTPS} on?
 * RewriteCond %{HTTPS} !on to RewriteCond %{HTTPS} on
 *  Thread Starter [Cartographer](https://wordpress.org/support/users/cartographer/)
 * (@cartographer)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-https-site/#post-4575279)
 * Hi I didn’t find this line in .htaccess
 * This is the content of .htaccess:
 * # BEGIN GzipWpFastestCache
    <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE
   text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE
   text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE
   application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType
   DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript
   AddOutputFilterByType DEFLATE application/x-javascript </IfModule> # END GzipWpFastestCache
 * # BEGIN WpFastestCache
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase/
   RewriteCond %{REQUEST_METHOD} !POST RewriteCond %{QUERY_STRING} !.*=.* RewriteCond%{
   HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$ RewriteCond%{
   HTTP:X-Wap-Profile} !^[a-z0-9\”]+ [NC] RewriteCond %{HTTP:Profile} !^[a-z0-9\”]
   + [NC] RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f RewriteRule
   ^(.*) “/wp-content/cache/all/$1/index.html” [L] </IfModule> # END WpFastestCache#
   BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule
   ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /index.php [L] </IfModule>
 * # END WordPress
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-https-site/#post-4575282)
 * “RewriteCond %{HTTPS} !on” add this line before “RewriteCond %{DOCUMENT_ROOT}/
   wp-content/cache/all/$1/index.html -f” as at the bottom please
 * RewriteCond %{HTTPS} on
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/
   index.html -f
 *  Thread Starter [Cartographer](https://wordpress.org/support/users/cartographer/)
 * (@cartographer)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-https-site/#post-4575299)
 * Hi Emre,
 * I think I did the changes you said but now my site is too slow and there is no
   difference in forcing ssl. [http://myexample.com](http://myexample.com) doesn’t
   redirect to [https://myexample.com](https://myexample.com)
 * Below see the changed .htaccess just to see if everything is as it should:
 *     ```
       # BEGIN GzipWpFastestCache
       <IfModule mod_deflate.c>
       AddOutputFilterByType DEFLATE text/plain
       AddOutputFilterByType DEFLATE text/html
       AddOutputFilterByType DEFLATE text/xml
       AddOutputFilterByType DEFLATE text/css
       AddOutputFilterByType DEFLATE application/xml
       AddOutputFilterByType DEFLATE application/xhtml+xml
       AddOutputFilterByType DEFLATE application/rss+xml
       AddOutputFilterByType DEFLATE application/javascript
       AddOutputFilterByType DEFLATE application/x-javascript
       </IfModule>
       # END GzipWpFastestCache
   
       # BEGIN WpFastestCache
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteCond %{REQUEST_METHOD} !POST
       RewriteCond %{QUERY_STRING} !.*=.*
       RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
       RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
       RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
       RewriteCond %{HTTPS} !on
       RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f
       RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L]
       </IfModule>
       # END WpFastestCache
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       RewriteCond %{HTTPS} on
       RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f
       </IfModule>
   
       # END WordPress
       ```
   
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-https-site/#post-4575316)
 * ok ok I got it. I need to work on it. as I said before, I didn’t try it with 
   https. I will inform you when I complete it
 *  Thread Starter [Cartographer](https://wordpress.org/support/users/cartographer/)
 * (@cartographer)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-https-site/#post-4575318)
 * Thank you Emre!
 * I am sure you will make it. Your caching plugin is the best (among others that
   I tried) and I don’t want to change it because of this SSL issue.
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-https-site/#post-4575323)
 * thank you so much
 *  Thread Starter [Cartographer](https://wordpress.org/support/users/cartographer/)
 * (@cartographer)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-https-site/#post-4575362)
 * Hi Emre,
 * I would like to ask if there is any estimation about when the “https” issue will
   be solved.
 * I noticed that as it is now there is a problem with my site ranking (redirection
   etc).
 * I am sure you are doing a lot of work 🙂 I am just asking just to have a plan.
 * Thank you.
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-https-site/#post-4575363)
 * I couldn’t try it with https because I don’t have ssl 🙂 Can you advise me something
   about it? something like trial ssl
 *  Thread Starter [Cartographer](https://wordpress.org/support/users/cartographer/)
 * (@cartographer)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-https-site/#post-4575364)
 * The only thing that comes to my mind (I am not a developer) is permanent redirection.
 * Maybe something like this could help: [http://wordpress.org/support/topic/force-sslhttps-for-entire-website?replies=7](http://wordpress.org/support/topic/force-sslhttps-for-entire-website?replies=7)
 * I don’t really know.
 * WP Fastest Cache makes some changes in .htaccess. I am not sure if I help here
   🙂
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-https-site/#post-4575365)
 * thank you so much Cartographer 🙂 but now I bought for my site. I will start 
   to work on it. I will inform you
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-https-site/#post-4575367)
 * what kind of error do you get? I am trying it now and cache is working. just 
   I get error with CSS files.
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-https-site/#post-4575369)
 * now I read your first message. Can you update .htaccess like below please?
 * RewriteRule ^(.*)$ [https://www.%](https://www.%){HTTP_HOST}/$1 [R=301,L] – just
   add this line like below
 * RewriteEngine On
    RewriteBase / RewriteRule ^(.*)$ [https://www.%](https://www.%){
   HTTP_HOST}/$1 [R=301,L]

Viewing 15 replies - 1 through 15 (of 31 total)

1 [2](https://wordpress.org/support/topic/wordpress-https-site/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/wordpress-https-site/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/wordpress-https-site/page/2/?output_format=md)

The topic ‘WordPress https site’ is closed to new replies.

 * ![](https://ps.w.org/wp-fastest-cache/assets/icon-256x256.png?rev=2064586)
 * [WP Fastest Cache - WordPress Cache Plugin](https://wordpress.org/plugins/wp-fastest-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-fastest-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-fastest-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-fastest-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-fastest-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-fastest-cache/reviews/)

## Tags

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

 * 31 replies
 * 5 participants
 * Last reply from: [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/wordpress-https-site/page/3/#post-4575525)
 * Status: resolved