SSL redirect error
-
Hi there,
I switched from qtranslate to mqtranslate a few month ago. Since mqtranslate just announced that they will cease development in favor of qtranslateX I went ahead and installed it as well as merged the mqtranslate general settings.
There is an SSL redirect issue with qtranslateX. It runs fine otherwise but on initial visit it tries to redirect to:
https://www.site.com/de/:443/
or
https://www.site.com/en/:443/We enforce https on our whole site but somehow that does not seems to work with the plugin. Here is the htaccess setting we use:
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTPS} off # First rewrite to HTTPS: # Don't put www. here. If it is already there it will be included, if not # the subsequent rule will catch it. RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # Now, rewrite any request to the wrong domain to use www. RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] </IfModule> # END HTTPS REdirect
The same settings work with the original qtranslate as well as mqtranslate. I had the “automatic redirect based on users language” deselected and mqtranslate deinstalled in order to avoid any mix-ups.
Any idea what causes this behaviour in qtranslateX?
Best,
Elmar
- The topic ‘SSL redirect error’ is closed to new replies.