How to find and replace a keyword recursively in cPanel?

 

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://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.

In this way you can find and replace a keyword recursively in whole cPanel.

Was this answer helpful?

Related Articles

How to Change Image Sizes in cPanel?

If you find yourself spending a lot of time scaling or resizing images before you upload them to...

How to Create backup & store them remotely in any Server using SCP?

Step::1 Login to cPanel and go to Backup Wizard in Files section.Step::2 Now click over Backup...

How to Install Magento in cPanel using Softaculous?

Here in this tutorial we will learn about how to install Magento in cPanel using Softaculous....

How to Install OpenCart in cPanel using Softaculous?

In this tutorial, I am going to show you how to quickly install OpenCart from Softaculous....

How to Uninstall Magento from cPanel using Softaculous?

Step::1 Login to your cPanel dashboardStep::2 Scroll down to the Softaculous Apps Installer under...