Jump to content

Change Paths

Guest nyvagyrl

Recommended Posts

How do I change the paths in the configuration of my CC? I would like to move my cart to a new domain.

thanks in advance.


Basically, edit "/includes/global.ini.php" to reflect the new url and server path of the store:


	$glob['dbhost'	] = 'localhost'	   ;

	$glob['dbdatabase'] = 'database name'		 ;

	$glob['dbusername'] = 'database user name'	   ;

	$glob['dbpassword'] = 'database password'	   ;

	$glob['dbprefix'  ] = ''				  ;

	$glob['installed' ] = '1'				 ;

	$glob['rootDir'   ] = 'Server path to the root of the store'	  ;

	$glob['rootRel'   ] = '/';

	$glob['storeURL'  ] = 'URL of the store ie - http://www.mystore.com';


However, it may be easier to do a clean install, and dump your old database into the new one and copy the images directory across.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...