• Resolved handig

    (@handig)


    Hi,
    Great plugin. I had it installed and working with the 301 redirect for a while. But last week I noticed the redirect stopped working. I’m pretty sure it worked before, so I’m really puzzled by it.

    I checked the contents of the .htaccess fil and I see that the #Really Simple SSL redirects rules are (still) there.

    So at last I gave up and I enabled the WordPress redirect in the plugin. The redirect worked. To check I disabled the WordPress redirect and to my surprise the htacess redirect worked…

    Strange. Any reason why this works and why did the htacess redirect stopped working in the first place?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mark

    (@markwolters)

    Hi,

    the .htaccess redirect is wrapped in a <IfModule mod_rewrite.c> tag. This means the redirect will only be done when the Apache module rewrite.c is active. Possibly this extension has been disabled, that would explain why the redirect suddenly stopped working. Can you check with your host if the module is active?

    Mark

    Thread Starter handig

    (@handig)

    The host confirms the module is active.

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Hi @handig,

    Then it should work. How did you test the redirect?

    Thread Starter handig

    (@handig)

    I just typed in Firefox the url without the https. So for example https://mywebsite.com.

    It didn’t redirect while the htaccess file had the #Really Simple SSL redirects rules. I know mod_rewrite.c worked because permalink like mywebsite.com/sample-post/ permalink works.

    Then I activated WordPress 301 redirect in REally Simple SSL while the option of htacess 301 redirect is also chosen. Then the redirect from http to https works.

    I then deactivated WordPress 301 redirect (so only htacess redirect in plugin) and then to my surrise the 301 htaccess redirect seems to work again.

    So happy that it works, but I’m wondering if this will repeat itself. Ofcourse I could leave WordPress 301 redirect on, but I’m afraid if this will make my pagespeed slower.

    Plugin Author Mark

    (@markwolters)

    Strange, since the .htaccess file is processed by the server, it’s likely a server issue when it doesn’t work correctly. I’d suggest to keep an eye on it, if it does happen again you can contact your hosting provider if they can find anything off.

    Mark

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘301 redirect stopped working but works again after…’ is closed to new replies.