redirecting to https

(Dilusha) #1

Topic widhata open karata aulak na ne :sweat: eke redirecting ek set karnna

RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteCond %{HTTP_HOST} ^(?:www.)?(.+)$ [NC]
RewriteRule ^ https://www.%1%{REQUEST_URI} [L,NE,R=301]

Save as .htaccess

(Dasun K Lokuhetty) #2

:+1: as always, good to have…

(Ruwan Senarathne) #3

Hey Dilusha,
I’ve send a email to @sdglhm regarding the issue,

Hopefully we can fix this within this week,


(Lahiru Himesh Madusanka) #4

Hi @dilusha,

Thank you for the information. We’re currently at the stage of building the website and that’s why still we can access from both SSL and nonSSL version to test things.

I will update the SSL redirection once devs have properly finalised the website.

Again, thank you.

(Dilusha) #5

Mama help karanna kamathi foss website eka develop karanna. Mama khmada join wenne :roll_eyes:

(Lahiru Himesh Madusanka) #6

Please find our website repo here.

(Ruwan Senarathne) #7

@dilusha , please talk to @Asith , he is currently developing wordpress base website.