How to redirect from http to https

jonas.blaha2
16 Posts
jonas.blaha2 posted this 13 June 2019
Ask a Question

Hi, wondering how to redirect site (html made and exported by nicepage desktop) from http to https. I activated certificate via my hosting provider so https version looks OK and works fine. Just need to know how to redirect all visitors to https domain. thnx

Hi, wondering how to redirect site (html made and exported by nicepage desktop) from http to https. I activated certificate via my hosting provider so https version looks OK and works fine. Just need to know how to redirect all visitors to https domain. thnx
Vote to pay developers attention to this features or issue.
6 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 14 June 2019

Jonas,

This can be done on Web server side (not Nicepage)
Please check these articles:
https://blogs.technet.microsoft.com/dawiese/2016/06/07/redirect-from-http-to-https-using-the-iis-url-rewrite-module/

https://cwiki.apache.org/confluence/display/HTTPD/RedirectSSL
...................................................
Sincerely,
Sergey F
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Jonas, This can be done on Web server side (not Nicepage) Please check these articles: https://blogs.technet.microsoft.com/dawiese/2016/06/07/redirect-from-http-to-https-using-the-iis-url-rewrite-module/ https://cwiki.apache.org/confluence/display/HTTPD/RedirectSSL ................................................... Sincerely, Sergey F Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
camjup
29 Posts
camjup posted this 14 June 2019

create ---> .htaccess

RewriteEngine On
Rewritebase /

RewriteCond %{HTTP_HOST} !.example.com$
RewriteRule ^(.*)$ https://www.exempla.com/$1 [L,R=301]

create ---> .htaccess RewriteEngine On Rewritebase / RewriteCond %{HTTP_HOST} !\.example\.com$ RewriteRule ^(.*)$ https://www.exempla.com/$1 [L,R=301]

Last edited 14 June 2019 by camjup

jonas.blaha2
16 Posts
jonas.blaha2 posted this 03 February 2020

What? English, please! What is .htaccess and how to create it?

What? English, please! What is .htaccess and how to create it?

Last edited 03 February 2020 by jonas.blaha2

Ch3vr0n
364 Posts
Ch3vr0n posted this 03 February 2020

Nice thread necro, but still.

htaccess is configuration file that lets browsers know how to interact with your server

http://www.htaccess-guide.com/

How to make one is simple

  1. open windows notepad
  2. Paste the code from the post above yours into it and save as htaccess.txt
  3. upload file to server
  4. rename the file from htaccess.txt to .htaccess (yes, no file extension and a dot . at the beginning)

All done.

The code above will force all urls from http to https

Nice thread necro, but still. htaccess is configuration file that lets browsers know how to interact with your server http://www.htaccess-guide.com/ How to make one is simple 1. open windows notepad 2. Paste the code from the post above yours into it and save as htaccess.txt 3. upload file to server 4. rename the file from htaccess.txt to .htaccess (yes, no file extension and a dot . at the beginning) All done. The code above will force all urls from http to https
poweronline2020
1 Posts
poweronline2020 posted this 18 March 2022

please check attachement

please check attachement
Support Team
Support Team posted this 19 March 2022

Hello,

Thanks for conatcting us

please check attachment

Everything looks just fine on our end
https://linkvalue.eu/

akjhf.png

Let us know if you require our further assistance
https://nicepage.com/Forum/Topic/Create

Thank you
...................................................
Sincerely,
Ahmad M.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello, Thanks for conatcting us >please check attachment Everything looks just fine on our end https://linkvalue.eu/ !akjhf.png! Let us know if you require our further assistance https://nicepage.com/Forum/Topic/Create Thank you ................................................... Sincerely, Ahmad M. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments