Automatically Redirect Your Website's HTTP Traffic To HTTPS - cPanel

Поделиться
HTML-код
  • Опубликовано: 27 дек 2024

Комментарии • 202

  • @kingsley15
    @kingsley15  7 лет назад +12

    Automatically redirecting HTTP traffic to HTTPS depends on the type of hosting you have. The code demonstrated in the video is Linus/cPanel servers.

    • @alexandrufilipescu1301
      @alexandrufilipescu1301 6 лет назад +3

      Good job my man, you are the first black guy I see doing tech videos, thanks.

    • @henrycullen950
      @henrycullen950 4 года назад

      Legend! Got it working on my site. Go hiontach ar fad!

  • @TSWMGSLIMEBALL
    @TSWMGSLIMEBALL 4 года назад +1

    hey brother if I am a youtube host content creator you think I should change the ad sense property for youtube from http to https, I notice the option, just trying maximize revenue and secure site?

  • @successfulaustralia786
    @successfulaustralia786 4 года назад +2

    This guy is not an IT Professional.. he is a Magician.. Amazing tutorial....!!!

  • @comedykings7763
    @comedykings7763 4 года назад +1

    What if already have .htaccess file on file manager , then should i delet that ? Please reply

    • @kingsley15
      @kingsley15  4 года назад

      You copy and paste the HTTPS rewrite code at the top, above your code in the existing .htaccess file.

  • @yeasirarafat8737
    @yeasirarafat8737 5 лет назад +3

    Thank You. This is my first comment on RUclips, Though i am using it since 2014. i have seen lot of tutorials but this is first time i have commented. because you are awesome man...!!

  • @steveathompson
    @steveathompson 5 лет назад +1

    I typically don't comment on videos but dude thank you so much! This absolutely fixed my issue. GoDaddy wanted to charge me extra to a package where they would do it which would be an extra $150.00 a year or something crazy. You saved me a bunch of money, thanks again!

  • @savetube101
    @savetube101 7 лет назад +1

    Thank you. You speak at just the right speed for me to follow along easily. Clear explanations of exactly what you are about to do really helped my understanding. Great job! I did as you instructed and my site now goes straight to https every time. I have "liked" and subscribed.

    • @kingsley15
      @kingsley15  7 лет назад

      Mike Maher
      Thanks Mike, happy to help :)

  • @sauravsrivastava19
    @sauravsrivastava19 6 лет назад +1

    You know you are awesome, I was not selecting the correct home drive and hence I was not able to fix the https redirect issue. I have seen multiple post and videos but told about this. But you told about it and I have fixed my https redirect issue on my website. Thank you again bro.

  • @senkutto2567
    @senkutto2567 3 года назад

    Does this make a negative effect to previous Search result rankings with http ?

  • @jean-alexanderdavis4257
    @jean-alexanderdavis4257 6 лет назад +1

    Outstanding! You are an amazing teacher and very laid back person all around. Stay blessed and keep moving forward!

  • @DarbazDara
    @DarbazDara 6 лет назад +3

    The best video on youtube for me! thanks bro.... this was very very helpful

  • @sthembisomakhushe6187
    @sthembisomakhushe6187 5 лет назад

    hi i need help on how to remove a message which pops up when i try to go my domain name and it says "index of and it gives me the panel which appears on cpanel where i need to click my aploaded file before it can take me to my website instead of taking me straight to my website

  • @bigcitydreamz4444
    @bigcitydreamz4444 5 лет назад

    Great video but what if you already have an existing .htaccess file that have code already where do you put the redirect? I crash my whole site even the cpanel by placing the code.

    • @kingsley15
      @kingsley15  5 лет назад

      Nah, adding that to your . htaccess file wouldn't crash your website. Just append the file - add any additional code to the top of the file.

    • @bigcitydreamz4444
      @bigcitydreamz4444 5 лет назад

      @@kingsley15 is there away to contact you so maybe you can walk me through this? I have the ssl certificate install godaddy hosting using Cpanel linux and appache. The .htaccess file is one long line of code and don't seem to be working correctly.

  • @malikjohnson4285
    @malikjohnson4285 6 лет назад

    hi i did what you said how do i make my lander redirect from http to https because now it saying that site cant be reach?

  • @smileywork
    @smileywork 4 года назад

    Excellent! My host provider wanted to charge me to manage my ssl and i was able to to do it online. My ONLY issue now is i dont see the LOCK iccon like all the other site with SSL on them.

  • @maxijoker1
    @maxijoker1 7 лет назад +6

    Thanks a lot sir. That was a very careful and straight forward explanation. I'll try to do it on my site now. Thanks a lot. Great video.

    • @kingsley15
      @kingsley15  7 лет назад

      Maximiliano Diaz
      No problem, drop a comment if you need any help :)

    • @maxijoker1
      @maxijoker1 7 лет назад

      Well, I tried it and it was a complete success!!! :D. Thank you very much!
      I have a problem/question though, I have some images (social media icons) on my website and that still triggers the unsecure conection message and the yellow triangle sign instead of the green padlock. How could I work around that?

    • @maxijoker1
      @maxijoker1 7 лет назад

      Ok, I got it hehe. I had to update the src attribute of the images :P Again sir thanks a lot you've been such a great help.

  • @rasoulahwazi6065
    @rasoulahwazi6065 5 лет назад

    Hello
    I have activated SSL without any problems but when uploading the HTML template to the hosting site and logging in to the template is a mock-up, and if I'm logged in without HTTPS, I will work without any problems.
    Can you guide me?

  • @popperdre3734
    @popperdre3734 6 лет назад +1

    simple and straight forward , l subscribed u bro , keep it up . somehow if l already have tht .htaccess file , is it fine just to paste that code inside ?

    • @kingsley15
      @kingsley15  6 лет назад

      Thanks! Yup, it's absolutely fine to paste into it if it already exists.

  • @Dan13Speed
    @Dan13Speed 6 лет назад +1

    Kingsley, you are awesome. I Totally forgot how to do this. Thank you for the wonderful refresher course. Have a Merry Christmas.

  • @LeenaStark
    @LeenaStark 6 лет назад +1

    Youve saved many users a lot of ca$h by sparing them of having to purchase SSL Certificates which can run up to the hundreds of dollars.
    Thank You. ( _love your accent, sounds a bit Irish_ ) :)

    • @kingsley15
      @kingsley15  6 лет назад +1

      You're welcome :) yeah the accent is Irish (Dublin), I try not to make it sound thick on camera haha

    • @LeenaStark
      @LeenaStark 6 лет назад +1

      @@kingsley15 You could lay it on as thick as _maple syrup_ if you want to.
      I could listen to you reading the ingredients off a toothpaste tube with that accent ! :D
      ( _Now Welsh accents..... thats an entirely different story, wayyy too thick!_ )

    • @LeenaStark
      @LeenaStark 6 лет назад

      @@kingsley15 Ironic, but I came across this *tweet* ( @ tiny.cc/RacismIreland ) and you came to mind...
      I would love to know your response/reply to this if you'd like to address it ?

    • @kingsley15
      @kingsley15  6 лет назад

      Hahaha thanks, appreciate you! :)

    • @kingsley15
      @kingsley15  6 лет назад

      Your comment was flagged for spam by RUclips because of the shared link.
      I don't focus at all on racism / discrimination. Ireland is diverse and chill - I have no issues. :)

  • @shanth24x7
    @shanth24x7 6 лет назад +2

    Thank you so much sir. This really helped...I followed other tutorials and i was really looking at tough process. This one was really easy and i was able to work it out on my website. thanks a ton !!!

  • @ScammerRevolts
    @ScammerRevolts 6 лет назад +1

    Awesome tut thanks for the video :D!

  • @Melanin-Moors
    @Melanin-Moors 5 лет назад

    The website is partial secured and pixels are not. What do I do? The website is disarrayed . I

  • @AnbarasanA
    @AnbarasanA 6 лет назад

    Dear friend , Drupal 8 how to setup http to https. Becuase default .htaccess file already enabled you shared
    that code. my url http and https both if i manually typed working. how to setup default https first priority.

  • @sanjoybsk
    @sanjoybsk 4 года назад

    Does it mean it's an alternative to SSL certificates? I mean do we still need SSL certificate after doing this?

  • @SusmitMohan
    @SusmitMohan 6 лет назад +1

    Sir, how you explained here is really great. Thanks a lot sir for sharing this rare tut.

  • @wadesaxton4745
    @wadesaxton4745 6 лет назад +2

    You are awesome and saved me a bunch of head scratching, Thank you very clear and to the point

  • @lanrebello2161
    @lanrebello2161 5 лет назад +1

    Thank you very much, are you a Nigerian?

    • @kingsley15
      @kingsley15  5 лет назад +1

      You're welcome. Yeah I'm Nigerian. I was born there but live in Ireland most of my life, pretty much Irish now as well.

  • @efraimie6119
    @efraimie6119 4 года назад

    Very good video bro, thanks a lot. Glad to see our fellow brothers are growing in this industry. Keep going up!

  • @kyoshmaster6119
    @kyoshmaster6119 5 лет назад +1

    thanks for this tutorial, i need this to help the company to secure their website! kudos bruh!

  • @JeremyY
    @JeremyY 7 лет назад +1

    Excellent tutorial! Helped me out. Thanks for sharing, Kingsley.

  • @axuz5906
    @axuz5906 4 года назад +2

    bro thank you so much...ihave been searching for about 4hours

  • @bigcitydreamz4444
    @bigcitydreamz4444 5 лет назад

    I know this video is 2 years old I followed the instruction paste the code in the .htaccess file but my site isn't redirecting to https

    • @kingsley15
      @kingsley15  5 лет назад

      Did you clear your browser cache? sometimes that prevents you from seeing recent changes.

    • @bigcitydreamz4444
      @bigcitydreamz4444 5 лет назад

      @@kingsley15 Yea I cleared the browser cache my site just crash on me smh. So I'm starting from scratch

  • @karrasaneethsagar5612
    @karrasaneethsagar5612 6 лет назад

    hello,
    i cant find .htaccess in my cpanel file manger..could you please help me out.,

    • @kingsley15
      @kingsley15  6 лет назад

      just create it yourself and input the same code I showed.

  • @shawnjacobsen4035
    @shawnjacobsen4035 6 лет назад +2

    THANK YOU
    btw, if it doesn't seem to be working right away make sure to clear your cache or use a different computer

    • @kingsley15
      @kingsley15  6 лет назад +1

      Oh yeah that's actually true! That's one of the most annoying things when doing web development.
      You can also just launch your browser's incognito mode, that usually does the trick as well.

  • @muhammadawais6253
    @muhammadawais6253 4 года назад

    How to reduce redirect time that it takes to while redirecting from http to https

  • @mr.phillips7226
    @mr.phillips7226 6 лет назад +1

    Excellent tutorial, thanks for taking the time to share your knowledge with us.

  • @billuvlogs2881
    @billuvlogs2881 4 года назад +1

    finally, after 2 days, I have done it with your help
    thanks a lot, bro ...
    liked
    comment
    subscribed

  • @majaa9400
    @majaa9400 6 лет назад

    I have https and my facebook says i need https but i already have it what should i do? and there is a lock beside the link

    • @kingsley15
      @kingsley15  6 лет назад

      What do you mean your Facebook says you need https, what exactly are you trying to do? Maybe your redirect is configured correctly. Try clear your browser cache and go again.

  • @RJ-jc3du
    @RJ-jc3du 4 года назад

    Thank you for making this tutorial, it's simple, accurate and direct to the point

  • @anze30
    @anze30 5 лет назад +1

    Thank you very much, explained in simplest possible mode. Keep on doing well.

  • @sontakkegajanan
    @sontakkegajanan 5 лет назад

    thanks but its valid for 3 month only may i know why?

  • @andresrevollo827
    @andresrevollo827 5 лет назад +1

    excellent video bro, keep up the good work....

  • @eggplantunleashed4740
    @eggplantunleashed4740 5 лет назад +2

    Thank you man! Really helped me - My site now redirects :) Thank you!

  • @sreekumargopinathanpillai
    @sreekumargopinathanpillai 4 года назад +1

    Thank You, Dude! Great stuff Great narration!

  • @SMPLapparel
    @SMPLapparel 6 лет назад

    Hey man, I followed your steps and I got a unsecure website warning window.. how do I fix this now?

    • @kingsley15
      @kingsley15  6 лет назад +1

      Do you have SSL set up? You need to set that up first.

    • @SMPLapparel
      @SMPLapparel 6 лет назад

      @@kingsley15 Thanks got it!

  • @NumanKhan-cs1tj
    @NumanKhan-cs1tj 6 лет назад +1

    Thank U so much its to easy way, and your way of teaching is also so nice thank u again

  • @carloscortez1219
    @carloscortez1219 4 года назад

    Hay man , im trying to do it https to http on a Mac bock pro

  • @0xBerto
    @0xBerto 3 года назад +1

    Thank you!! wasnt sure if it was the same process for sub domains thank you!

  • @mrespinosa
    @mrespinosa 6 лет назад +1

    Very informmative and straight to the point. Thank you !

  • @Lubsoing2011
    @Lubsoing2011 4 года назад +1

    Straight to the point, thanks a lot!

  • @jonathanponce3913
    @jonathanponce3913 6 лет назад +1

    Thanks a lot man! I just did it on a website and it's perfectly working.

  • @stevemaxwell9259
    @stevemaxwell9259 6 лет назад

    I followed the instructions but I am having problems when I refresh my website it shows secure for 1 second then goes back to unsecure...I don't know what to do

    • @kingsley15
      @kingsley15  6 лет назад

      I think that might only be the case for you, due to browser caching, it's probably fine if I went to your site. You might have to clear your browser cache, if you're using Chrome, then just press CTRL+SHIFT+DELETE to bring up the settings for browser data.

    • @stevemaxwell9259
      @stevemaxwell9259 6 лет назад +1

      Thanks my brother, I called my hosting company and they checked it out, and there were images with http addresses which I had loaded onto my website, so they told me to go into the website and change the http to https... I did that and it works correctly now....thanks for looking out my brother I appreciate it

  • @shikhabajpai413
    @shikhabajpai413 7 лет назад

    Can u help me for the code in web.config?

  • @sandeepmani
    @sandeepmani 6 лет назад

    I want to redirect https to http. How could I do It. Pls tell me. Step by step

  • @Wiz4rds
    @Wiz4rds 5 лет назад +1

    Kingsley, umm your website isn't secure

  • @Matthew-thl-travel
    @Matthew-thl-travel 4 года назад

    For someone who failed to work on the redirect http to https, you might have typo "htaccess" instead of the correct ".htaccess"

  • @ASKhatab
    @ASKhatab 6 лет назад

    i cant find index.html

  • @ayazali322
    @ayazali322 4 года назад

    You are awesome dude, Subscribed.

  • @TheLuksas
    @TheLuksas 3 года назад +1

    Simple and fast! Thank you

  • @diagknowstech
    @diagknowstech 4 года назад

    does anybody know where to find for ifastnet

  • @stripedstudio3621
    @stripedstudio3621 4 года назад +1

    You are the men. Thank you for helping me bro

  • @mountaintelevisionitdepart9075
    @mountaintelevisionitdepart9075 7 лет назад

    How to do? i can't to be success please give me some information.

  • @royethrehinaldo5800
    @royethrehinaldo5800 6 лет назад +1

    Thanks man you did a great job there . Keep up the good work ! Thanks

  • @momanjutt6426
    @momanjutt6426 5 лет назад

    This only works in chrome browser for pc.
    In other browsers in pc it doesnot work or even on phones !!!

  • @mateusz.2881
    @mateusz.2881 3 года назад +1

    2020 still works, thanks mate!

  • @tiggywinkle1000
    @tiggywinkle1000 6 лет назад +1

    Very informative and well presented this knowledge solved http > https problem.

  • @cibinjose928
    @cibinjose928 5 лет назад

    Haii bro,How to load domain name corresponding URL automatically

  • @sandeepparihar5640
    @sandeepparihar5640 6 лет назад

    Hello bro ! I want to ask something please Reply me
    my Website is Show *NO Secure*
    So i can Follow your Steps to get Https on my Website ??

    • @kingsley15
      @kingsley15  6 лет назад

      Well this step is only for setting up auto redirect, you'll need to make sure you have SSL setup as well. I have a video on how to set up free SSL: ruclips.net/video/LSwi75LocHs/видео.html

  • @1337ghomri
    @1337ghomri 4 года назад

    1000 Thanks from a guy from Denmark!

  • @TCBabcock
    @TCBabcock 3 года назад +1

    Thank you so much for your help. This worked perfectly.

  • @alexandrufilipescu1301
    @alexandrufilipescu1301 7 лет назад +2

    Thank you man, you are great, I never saw a tutorial by a black guy for tech, but keep it on!

  • @Qamre_Alam
    @Qamre_Alam 4 года назад

    but https is not available in my case....

    • @kingsley15
      @kingsley15  4 года назад

      Do you have SSL set up already with your domain?
      I have a video on how to get free SSL: ruclips.net/video/LSwi75LocHs/видео.html

  • @ASKhatab
    @ASKhatab 6 лет назад

    i havr index.php no index.html

    • @kingsley15
      @kingsley15  6 лет назад

      Doesn't matter, It's seen as the same thing. You can have index.html or index.php
      By default, servers look for those files as the starting point of a directory. There are a few other defaults but those 2 are the usual defaults - you can even set your own directory index file in your .htaccess file. Anyway that's a bit off topic.

  • @erikT3500
    @erikT3500 5 лет назад +1

    Thanks for the video all the other ones I found applied to wordpress only.

  • @rabbitczar
    @rabbitczar 4 года назад +1

    2017, still a very useful video!

    • @kingsley15
      @kingsley15  4 года назад

      It'll be relevant for many years to come 😁

  • @SeanEmman
    @SeanEmman 7 лет назад +1

    Thanks Mate, bloody good tutorial!!

  • @learnwithnorlyn
    @learnwithnorlyn 5 лет назад

    Man thank you so much for this tutorial. You saved me!

  • @stevepranata8740
    @stevepranata8740 4 года назад +1

    Awesome thank you very much for the tutorial video :)
    This is help me

  • @qlaval
    @qlaval 6 лет назад +1

    Thank you! Exactly what I was looking for.

  • @SurajKhanna
    @SurajKhanna 4 года назад +1

    You're the best. Thank You. 😍

  •  6 лет назад +2

    Thank you bro, it worked perfectly!

  • @arkawrdmusic
    @arkawrdmusic 6 лет назад +5

    Thanks very helpful

  • @india8ballpoolcoinsseller
    @india8ballpoolcoinsseller 7 лет назад +1

    thanx dude tou are aswome..... i want a help also can we talk soe where else like on istagram?

  • @ScreamFan-z1u
    @ScreamFan-z1u 4 года назад +1

    Thanks man. Really helped me out :)

  • @ShihabpH19205
    @ShihabpH19205 3 года назад

    Thanks Man, It was really helpful

  • @tsoaneloshabe413
    @tsoaneloshabe413 4 года назад +1

    Thanks very much it worked like a charm

  • @yarulmasias9401
    @yarulmasias9401 6 лет назад +1

    Thank you doc! It's work good!

  • @gotdamnimin
    @gotdamnimin 6 лет назад +1

    Thank you very much, this is so easy.

  • @Krovvidii
    @Krovvidii 4 года назад

    Thankyou this worked for me and was a really quick fix.

  • @shanthalams3001
    @shanthalams3001 4 года назад

    Thanks for this awesome video. Very helpful :)

  • @roelanehlakametsa7453
    @roelanehlakametsa7453 5 лет назад +1

    Thanks man this is really great

  • @gloriastellagutierrezgarzo4413
    @gloriastellagutierrezgarzo4413 5 лет назад +1

    Thanks, excellent video

  • @benazirb1649
    @benazirb1649 5 лет назад +1

    Thank u so much....it worked correctly..

  • @RuhulAmin-bo7qt
    @RuhulAmin-bo7qt 6 лет назад +1

    It was helpful. Thanks.

  • @ZipTradeGlobal
    @ZipTradeGlobal 6 лет назад

    Thanks! Awesome tutorial

  • @BLACKLIGHT_NL
    @BLACKLIGHT_NL 6 лет назад +1

    thnx mate, you seem a really nice guy

  • @isobel2093
    @isobel2093 6 лет назад

    What do you do if you already have a .htaccess file with code? Whereabouts do I paste the new bit of code? This is what I have in my .htaccess file:
    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

  • @divyanshuprajapati8362
    @divyanshuprajapati8362 2 года назад

    Not Working

  • @bienbien3932
    @bienbien3932 3 года назад +1

    It worked. Thank you.