Why does my website wallpaper and animations/text break when i switch from http to https?

Hello there people! i have a quick question, why does my website wallpaper and most of my text not work when i am on the https version of my website? when i am on the http version everything works just fine.

here is the website on https:


and here is the website on http:


Likely you are loading files over http instead. Browsers block resources loaded over http on https. Try making sure those resources are loaded over https.

2 Likes

how?

Use a re-write in your .htaccess

3 Likes

Ok i am going to try that! thanks :̖D

i double checked my .htaccess folder and i already had a rewrite which was
RewriteEngine On
RewriteCond %{HTTP_HOST} ^selync.ga [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.selync.ga/$1 [R,L]

The one that was in the link you sent me redirected me too many times in my website

Huh.

Can you open devtools and navigate to your website in https?

Look at the network tab in devtools to see all of the network requests since you opened the devtools window.

You should see external files being loaded (if you have any).

Make sure to have your files be compatible with both http and https URLS, as that might be what the problem is.

1 Like

My laptop for some reason cant use the devtools feature so what should i do?

and also how can i make sure that my files are compatible with both http and https URLS?

If the files utilize URLS (like importing in CSS), make sure you don’t start the URL with http. Better yet, you can use a relative URL.

2 Likes

alright! imma try that right now

It worked! thanks :̖D

1 Like

No problem!

2 Likes

change 80 to 443

alright! give me a second

that stopped the http redirecting imma keep it as 80

kk, but 443 is the secure port

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.