.htaccess redirection not working with IFTTT
-
I am experimenting with IFTTT and have found that Really Simple SSL stops the WordPress IFTTT service working if using the “Enable 301 .htaccess redirect” setting. Disabling this setting and using the “Enable WordPress 301 redirection to SSL” setting makes the IFTTT WordPress service work correctly. To make the “Enable 301 .htaccess redirect” work correctly when enabled, I have found that it’s necessary to add a new “Rewrite” condition to the .htaccess to prevent the xmlrpc.php URL sent by IFTTT from being rewritten. The full .htaccess insertion after modification which I find works is as follows.
# BEGIN rlrssslReallySimpleSSL rsssl_version[3.2.9]
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} !=on [NC]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/
# The following condition added to make ifttt connection work
RewriteCond %{REQUEST_URI} !^/xmlrpc.php
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
</IfModule>
# END rlrssslReallySimpleSSLI hope this makes sense. I also suspect that other services using XML-RPC may well fail for the same reason! Perhaps you could consider adding this to the plugin at some stage in the future?
- The topic ‘.htaccess redirection not working with IFTTT’ is closed to new replies.