• Resolved Emre Vona

    (@emrevona)


    Hi, I am developer of WP Fastest Cache. There is a compatible problem with our plugins. If you fix the problem, it can be so good for our users.

    The problem:

    When the httpS redirection is added into htaccess, the visitors are redirected to the https://yourdomain.com/wp-content/cache/all/index.html

    https://www.wpfastestcache.com/tutorial/redirection-to-wp-contentcacheallindex-html-problem/

    Solution:

    You need to add the following rule into htaccess.

    RewriteCond %{REQUEST_URI} !wp-content\/cache\/(all|wpfc-mobile-cache)

    Sample htaccess:

    # BEGIN HTTPS Redirection Plugin
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{SERVER_PORT} !^443$
    ######## HERE ########
    RewriteCond %{REQUEST_URI} !wp-content\/cache\/(all|wpfc-mobile-cache)
    ######## HERE ########
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>
    # END HTTPS Redirection Plugin

    Please let me know when you add it.

    • This topic was modified 6 years, 9 months ago by Emre Vona.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, thank you for reporting this. I have submitted a message to the plugin developers to investigate further your findings.

    Kind regards

    Plugin Author mra13

    (@mra13)

    I will look into and get back to you with an update.

    Plugin Support Alexander C.

    (@alexanderfoxc)

    Hi @emrevona and thank you for bringing this up.

    I am plugin contributor and was assigned by the author to research this situation. While I can understand why this .htaccess rule in your post is for, I’m not able to reproduce the situation when visitors are redirected to https://yourdomain.com/wp-content/cache/all/index.html , therefore I can’t test it. I tested it on fresh WP installation and on existing site, with both WP Fastest Cache and Easy HTTPS Redirection plugins enabled.

    Can you please provide a more detailed instructions how to reproduce this issue?

    And, another question (not related to this): is there a way how to trigger WP Fastest Cache cache deletion programmatically from within this plugin? E.g. via calling some function etc. The reason I’m asking is that it would be useful to trigger cache deletion when user is changing settings in Easy HTTPS Redirection plugin.

    • This reply was modified 6 years, 9 months ago by Alexander C..
    Thread Starter Emre Vona

    (@emrevona)

    Actually the problem does not always occur. to replicate is too difficult.
    if you want, you can add a condition which checks wp fastest cache is active or not. If it is active, you can add the rule which I sent.

    Plugin Support Alexander C.

    (@alexanderfoxc)

    Ok, it has been added to the upcoming version and will be released shortly.

    Thank you for bringing this up.

    Thread Starter Emre Vona

    (@emrevona)

    thank you so much. If you let me know when you release it, it makes me so happy ??

    Plugin Author mra13

    (@mra13)

    The new version has been released. Thank you.

    Thread Starter Emre Vona

    (@emrevona)

    thank you so much ??

    Hello Author,
    Your this change can cause the compatibility issue with w3tc
    That makes more load to redirect the particular URL
    Thanks
    Vikas

    Plugin Support Alexander C.

    (@alexanderfoxc)

    Hello Vikas.

    Can you please provide some additional details on this? I’m not quite following.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi @alexanderfoxc, you might like to read the following support thread. @vikaspandey, has started a new support thread regarding this issue.

    Thank you

    Plugin Support Alexander C.

    (@alexanderfoxc)

    Thank you, Manuel.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘to be compatible with WP Fastest Cache’ is closed to new replies.