Skip to main content

Moving your site to another domain or local server

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.


Tuskfish CMS User Manual

The user manual provides a comprehensive guide to Tuskfish CMS operations. It covers all all aspects from installation to adding and curating content, managing site security and customisation of themes. For additional information on how to customise Tuskfish please see the developer guide.