Replace URL Script
Last Updated: 17 Dec 2015
The replace_url.php script changes the base URL associated with a Site or a system folder and is located in the directory /home/websites/squiz_matrix/scripts. You will be prompted to select a URL to change, and the new URL to change it to. An example of its usage is shown below.
$ php replace_url.php [system_root]
Enter the root password for "The System": *****
1. example.com/matrix/_designs
2. example.com/matrix/_media
3. example.com/matrix/_users
4. example.com/matrix/testing
Please enter the urlid of the url to change: 4
Please enter the url to change to: example.com/matrix
Change example.com/matrix/testing to example.com/matrix (y/n)? : y
------------------------------------
LOOKUPS CHANGED FROM example.com/matrix/testing TO example.com/matrix
------------------------------------