Step::1 Login to your cPanel and open File Manager
Step::2 Next go inside public_html and create a new php file like findandreplace.php
Step::3 Once successfully created, right click over the file and choose the Edit option
Step::4 Now copy the code from the link given below
https://pastebin.com/UaGaCuS6
Step::5 Paste the code in the php file and then Click on Save changes tab.
Step::6 Now run this file in your web browser with the exact URL like https://domain.com/findandreplace.php
(Make sure you replace domain.com with your actual domain name and findandreplace.php with your original file name)
Once you hit this file, a page will appear where you can search for a keyword and replace it in whole cPanel.
Step::7 Simply replace here all http in your website with https.
In this way you can find all http and replace them with https in cPanel.
Visit our Blog for more details. You can also watch the video here.