Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

Thread: 

Redirect http to https?

Ads
banner
banner
banner
banner
Victor Dub Offline referral

Posts: 795
Joined: Oct 2013
Reputation: 3

#1
Posting Freak
I am thinking about switching from http to https alright and I am wondering IF is it as easy as simply putting a bit of code into htaccess file?

What if I've got http links to css, java, images etc. will they load OK?
postcd Offline referral

Posts: 27
Joined: Feb 2016
Reputation: 0

#2
Junior Member
(08-23-2017 10:46 PM)Victor Dub Wrote:  What if I've got http links to css, java, images etc. will they load OK?

After certificate is enabled, you can access site proabably either via HTTP or HTTPS. Some content management systems are made the way so they redirect from HTTPS to HTTP (i think it may be rare case), so you need to configure them to use HTTPS (it should not be hard). You can also define that in .htaccess file: check this
You can also check your HTML/PHP files code and replace all local http:// occurences by https:// , but i think you better do not indicate either one, i would remove it completely and isntead of example "http://yourdomain.com/folder/image.jpg" would use "/folder/image.jpg" - if you keep http:// hardcoded in your files, then your https page in address bar will have an icon indicating that parts of webpage are not encrypted/secure. You can google "mixed SSL warning" images and pages to see how it looks like.
$0.5 website hosting
$2 Linux server (torrent,proxy,RDP etc.)
-> Instantcpanelhosting.com
marcus_avrelius Offline referral

Posts: 2,518
Joined: May 2013
Reputation: 102

#3
Support Team
If you have your website hosted on Godaddy website hosting then SSL certificate will be automatically installed on your website then you just have to add this code to your htaccess file to redirect HTTP to HTTPS:

Code:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Keep in mind that all your website resources have to be loaded from secure URL if not you will run into mixed content problem.
aegisinfoways Offline referral

Posts: 93
Joined: Feb 2016
Reputation: 0

#4
Member
SSL is still optional. But since you're collecting customer information, it's always advised to use SSL on sensitive pages.
marcus_avrelius Offline referral

Posts: 2,518
Joined: May 2013
Reputation: 102

#5
Support Team
(09-05-2017 07:33 AM)aegisinfoways Wrote:  SSL is still optional. But since you're collecting customer information, it's always advised to use SSL on sensitive pages.

YES but Google strongly recommends switching to HTTPS no matter what type of website you run.





User(s) browsing this thread: 1 Guest(s)