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 was redirected to 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
-
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…
Hi,
Thank you. This will be a very good addition and mandatory for many of us. Hope you will have it soon.
Again, congratulations.
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
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
“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 -fHi 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 doesn’t redirect to 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
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
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.
thank you so much
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.
I couldn’t try it with https because I don’t have ssl π Can you advise me something about it? something like trial ssl
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
I don’t really know.
WP Fastest Cache makes some changes in .htaccess. I am not sure if I help here π
thank you so much Cartographer π but now I bought for my site. I will start to work on it. I will inform you
what kind of error do you get? I am trying it now and cache is working. just I get error with CSS files.
now I read your first message. Can you update .htaccess like below please?
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L] – just add this line like below
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
- The topic ‘WordPress https site’ is closed to new replies.