Is the pugin working when https is forced by htaccess?
-
Hi, I’m trying this plugin on a networked wordpress installation (folder style like domain.com/blog1/en/). Everything works and the plugin is really great.
I’ve just started to have big headaches when I forced https from the htaccess file:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://blog.domain.com/$1 [R,L]I even disabled all other plugins I have (wordfence, wordpress seo and few others), but problems were still there. Posts, categories, authors weren’t added the language in the url anymore. Then I somehow got it working, and the language param was being added again, but the feed url broke (it didn’t add the language). Once I removed te https rule, everything started to work again
Initially I thought it was because the wordpress https plugin, but actually when I disabled it polylang broke even more (it didn’t add the language to posts/categories/etc)
I also noticed that when the page loads under https the feed url doesn’t include the language, when is loaded under http it does. Maybe is a bug when replacing the url considering only http and nott https?
How can I use this plugin but still keeping everything under https?
- The topic ‘Is the pugin working when https is forced by htaccess?’ is closed to new replies.