Here is a very risky “extension”. If you’re forced to move your EE install to a different path it can be a pain to find all the locations of your server path or url, so I’ve made a global “find and replace” utility. It run’s outside of the CMS, in case you’re using it to update the config.php file. In short here is what it does:
1. Finds all occurrences of str1 in the config.php file and replaces it with str2
2. Finds all occurrences of str1 ANYWHERE in the database and replaces it with str2
Because the changes this file makes are so great, please do not run it without backing up both your database and your config.php file. Even after doing so, please make sure you understand what you’re doing because this can cause a lot of headaches if used incorrectly.
That said, I’ve used this file many, many times to port several builds across servers and it works well. Please let me know what you find.
To Install:
Place the eemigrate.php file inside your “system” folder. Navigate to it from a web browser, and enter the find str and the replace str. Click “Go”. Choosing alter database will toggle the ability to search through the database.
Thanks to Paul for the great idea: http://expressionengine.com/forums/viewthread/40339/
UPDATE:
Taken down because of lack of updates.
