Can you remove the exsisting code i sent and try this
RewriteEngine on
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ [https://www](https://www/).%{HTTP_HOST}/$1 [R=301,L]
Can you remove the exsisting code i sent and try this
RewriteEngine on
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ [https://www](https://www/).%{HTTP_HOST}/$1 [R=301,L]
Now www gives me ssl, http seems to be the default if I just visit the website, and https doesn’t work.
Links, images and stylesheet still not working.
You mean that
www.wikilukas.ga >Works with ssl
wikilukas.ga >Works with Http?
Yes, basically.
I think My .htaccess codes are wrong. Can you try this one below
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
If this not worked someone can help you other than me
Thanks for all the help! Sadly, it didn’t work though: I’ve still got the same problem. I will try using regular SSL certificates instead of cloudflare SSL and see if it works better.
Seems like the Same problem with WordPress,
@LukeTheNuke you can solve this issue by either installing a free ssl in cPanel and turning on Full SSL in Cloudflare. This shd solve
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.