To move LiteCart from one place to another. All you need to do is move the complete set of files and folders and edit the following:
1. ~/.htaccess
ErrorDocument 403 /webpath/to/error_document?code=403 ErrorDocument 404 /webpath/to/error_document?code=404 ErrorDocument 410 /webpath/to/error_document?code=410
RewriteBase /webpath/to/application/
# AuthUserFile "/home/user/public_html/webpath/to/.htpasswd"
2. ~/admin/.htaccess
AuthUserFile "/home/user/public_html/webpath/to/admin/.htpasswd"
3. ~/includes/config.inc.php
define('DB_SERVER', 'my.mysqlserver.com'); define('DB_USERNAME', 'myusername'); define('DB_PASSWORD', 'mypassword'); define('DB_DATABASE', 'mydatabase'); define('DB_TABLE_PREFIX', 'lc');
Done!
If you use any add-ons that might require full paths e.g. Deploy Changes be sure to edit includes/config.inc.php.