Why do I have two different models with my website?

Who can tell me why my website have two different model?
It has http model (Not safe) and https model (Safe).
And if I type https://inspi.cf, it is https (Safe) model.
If I search inspi.cf, it is http (Not safe) model.
It looks not normal !

My domain: https://inspi.cf
User Name: epiz_29389452
FTP Host: ftpupload.net
Screenshot of File Zilla:

http model (Not safe) :

https model (Safe) :

Another problem, It seems that my browser information cannot be updated (My website is written in code)

there are two- https and https, you must redirect http to https.The Complete Guide To Switching From HTTP To HTTPS — Smashing Magazine. this will make only one ‘model’ now!

Who can help me with team-viewer?
Because I cannot understand English very well…

You need to do this


How can I do this?

Paste this to your .htaccess

RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

  1. On FileZilla, create a new file inside the /htdocs folder. Call it “.htaccess” with nothing before the dot.
  2. Copy and paste the code from that article you screenshots into the file
  3. Save the file, clear your cache and try loading your site both ways. The HTTP should redirect to HTTPS.

@jaikrishna.t, in the future, please post the link to the KB, not an external website, as the KB is typed specifically for InfinityFree and the servers here. Also, please help people on this forum (Like I did above), instead of posting your email.


I created the .htaccess file successfully, but I cannot open and edit it.
It said “Cannot open and edit file ‘.htaccess’: There is no program associated with this file in your system”

Any text editor will do. Use notepad?

Did you create it on your PC? If not, create the file on FileZilla, then download it to edit it. Most OS’s don’t like files that begin with a dot.

Yach, I paste them in it.
And I change successfully!! Thanks~



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