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

  • How to find and replace a keyword in cPanel, How to find and replace a keyword recursively in cPanel
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to prevent Cross Site Scripting(XSS) injection attack in your Website?

Cross-site Scripting (XSS) is a client-side code injection attack. The attacker aims to execute...

How to protect PHP file execution in a specific directory?

Having some directories writeable by default makes your site vulnerable to hacker attacks....

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 find all http in your website and replace them with https in cPanel?

Step::1 Login to your cPanel and open File ManagerStep::2 Next go inside public_html and create a...

How to secure ‘public html’?

Permissions can be very important when it comes to hosting your website. Permissions can allow...