- How to set up email account on iPhone?
- How to login webmail?
- How to login to Email Manager?
- What is IMAP?
- If my Email Service Plan do not include SMTP server, how do I send the Email?
- What is SMTP server (port 25)?
- How can I change FTP password? (For Window Platform)
- How do I create my email account?
- Error Code: 0x800CCC0E, 0x800CCC0F, 0x8004210B or 0x80042108
- Why my Outlook Express keeps trying to send a message but the Outbox appears to be empty?
- What is a DNS Record?
- How to Set Up an Email Account in Outlook 2003?
- How to upload my website to server?
- How to get the login information of Email Manager ?
- Error Code: 0x800CCC6A
- What is Web Control Panel (WCP)?
- What is a Top Level Domain (TLD)?
- What is a Mailing List?
Redirect http to https
To redirect website http to https, create or edit your .htaccess (Unix hosting service) or web.config (Window hosting service), then upload it under public_html folder.
***Unix Hosting Service Website***
Download the existing .htaccess file, add the following, then upload it. If the .htaccess has set other website rewrite, to prevent website error, contact your programmer to add for you.
RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
If no .htaccess file, use text editor to create one, then add the following
RewriteEngine on RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
***Window Hosting Service Website***
Download the web.config file, add the following, then upload it. If the web.config has set other website rewrite, to prevent website error, contact your programmer to add for you. <configuration> <system.webServer> <rewrite> <rules> <rule name="HTTPS force" enabled="true" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input="{HTTPS}" pattern="^OFF$" /> </conditions> <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
If no web.config file, use test editor to create one, then add the above code. |