Title: Permanent replacement?
Last modified: August 30, 2016

---

# Permanent replacement?

 *  Resolved [Benjamin](https://wordpress.org/support/users/ben_dajao/)
 * (@ben_dajao)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/permanent-replacement/)
 * Can it do permanent replacement even when deactivated?
 * [https://wordpress.org/plugins/text-replace/](https://wordpress.org/plugins/text-replace/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [10 years, 4 months ago](https://wordpress.org/support/topic/permanent-replacement/#post-6580205)
 * [@ben_dajao](https://wordpress.org/support/users/ben_dajao/): The plugin expressly
   does not do permanent replacement, so it must remain activated.
 * Changing data globally in the database can result in some unintended text replacements,
   so it’s safest for the plugin not to do it. Also, depending on the size of the
   site’s data and the nature of the site’s hosting environment, it may not complete
   in a timely enough fashion, leaving the data in an unknown state (and the replacement
   process may not be able to safely be run again, depending on the replacements
   that were defined).
 * In short, there’s a lot of risk to do in a general-use way in a plugin and isn’t
   something I set out to do with it. The plugin could certain be used by another
   script or plugin to iterate through all posts on the site, call the plugin’s 
   function to handle text replacements, and then save the posts back to the database.
   But that’s an exercise left to someone else.
 * If you have access to a web interface for your database (such as through phpMyAdmin
   in your hosting account’s cPanel (or similar)), you could directly run an SQL
   statement to permanently replace text (Google would help you find the specifics).

Viewing 1 replies (of 1 total)

The topic ‘Permanent replacement?’ is closed to new replies.

 * ![](https://ps.w.org/text-replace/assets/icon-128x128.png?rev=1094089)
 * [Text Replace](https://wordpress.org/plugins/text-replace/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/text-replace/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/text-replace/)
 * [Active Topics](https://wordpress.org/support/plugin/text-replace/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/text-replace/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/text-replace/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/permanent-replacement/#post-6580205)
 * Status: resolved