Step::1 Login to cPanel and open File Manager
Step::2 Go inside public_html and create a php file with the name- findandreplace.php
Step::3 Now copy the entire code provided in the link below:
https://pastebin.com/UaGaCuS6
Step::4 Now right click over the “findandreplace.php” file and choose the Edit option
Step::5 Paste the copied code in the file and click on Save.
Step::5 Now run this file from the new tab.
In order to run this file you have to write the exact URL like https://example.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.
In this way you can find and replace a keyword recursively in whole cPanel.
Visit our Blog for more details. You can also watch the video here.