Moving your site to another domain or local server
15 December 2017 924 views | Documentation v1, Documentation v2
The procedure is very simple:
- Upload your website file structure, including the trust_path folder, to your new server.
- Edit mainfile.php and update the TFISH_ROOT_PATH, TFISH_TRUST_PATH and TFISH_URL constants to point to your new domain or IP address. Don't forget to change the mainfile.php permissions back to 0400 afterwards.
- If the file path to the database is different, you will need to edit the last line of config.php to specify the new file path for the a TFISH_DATABASE constant.
That’s it. Provided that you have been using the TFISH_URL and TFISH_ LINK constants to refer to your own domain in internal hyperlinks within your site, they should all update automatically.
Copyright, all rights reserved.