• The plugin autogenerate this lines which conflict with the rewrite rules set by my self:
    RewriteCond %{HTTP_HOST} ^www.mysite.com
    RewriteRule ^(.*)$ https://mysite.com/$1 [R=301,L]
    RewriteCond %{HTTPS} !=on
    RewriteCond %{HTTP_HOST} ^mysite.com
    RewriteRule ^(.*)$ https\:\/\/mysite\.com\/$1 [R=301,L]

    These lines cause my site a redirection loop when using Firefox with a SPDY connection. I don’t know why but removing these lines can solve the problem. And these lines are useless for me, because I wrote the rewrite rules in <VirtualHost> section in Apache2 conf file.

    Could you please remove these lines or just give me an option to turn it off?
    Now I have to remove them manually after I modify the option of WPFC

    https://wordpress.org/plugins/wp-fastest-cache/

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

    (@emrevona)

    Probably you have redirection rule or plugin. You need to remove it.

    Thread Starter cokebar

    (@cokebar)

    I’m sure that these lines are added by WPFC. These lines conflict with my rules.
    I think WPFC should not these lines.

    Plugin Author Emre Vona

    (@emrevona)

    Of course WPFC added 🙂 I am talking about another redirection rules which added by you or by any plugin.

    Thread Starter cokebar

    (@cokebar)

    But my need isn’t redirect anything to https://mysite.com/
    I need a different rule.

    Thread Starter cokebar

    (@cokebar)

    WPFC shouldn’t decide the rules itself. Maybe someone serve mysite.com & http://www.mysite.com differently

    Plugin Author Emre Vona

    (@emrevona)

    But it was a feature request from users and I have added. What kind of redirection do you need?

    Thread Starter cokebar

    (@cokebar)

    Maybe you should add an option to turn it on/off
    It was mainly because I have a redirection loop for firefox users.
    if I write the rules in the .htaccess, It will cause a redirection loop(https://mysite.com to https://mysite.com/, SPDY on)
    Chrome & IE don’t have the problem.
    I don’t know whether it is a bug of Firefox or mod_spdy(with apache 2.4.7)

    Thread Starter cokebar

    (@cokebar)

    I comment this line in admin.php and resolve the proble temporarily.
    // $this->prefixRedirect().

    Plugin Author Emre Vona

    (@emrevona)

    Maybe you should add an option to turn it on/off

    I don’t want the users to be confused. maybe later I can add it.

    I comment this line in admin.php and resolve the proble temporarily.
    // $this->prefixRedirect().

    That’s nice 🙂

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

The topic ‘.htaccess rewrite rule problem’ is closed to new replies.