Support » Plugin: WP Fastest Cache » WordPress https site

Viewing 15 replies - 1 through 15 (of 31 total)
  • Plugin Author Emre Vona

    (@emrevona)

    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.

    Plugin Author Emre Vona

    (@emrevona)

    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

    Plugin Author Emre Vona

    (@emrevona)

    “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

    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 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
    Plugin Author Emre Vona

    (@emrevona)

    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.

    Plugin Author Emre Vona

    (@emrevona)

    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.

    Plugin Author Emre Vona

    (@emrevona)

    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 🙂

    Plugin Author Emre Vona

    (@emrevona)

    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

    (@emrevona)

    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

    (@emrevona)

    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]

Viewing 15 replies - 1 through 15 (of 31 total)
  • The topic ‘WordPress https site’ is closed to new replies.