Foss.lk redirecting to https

Topic widhata open karata aulak na ne :sweat:

Foss.lk 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

2 Likes

:+1: as always, good to have…

1 Like

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

Hopefully we can fix this within this week,

Thanks.

1 Like

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.

1 Like

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

Please find our website repo here.

1 Like

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