Jump to content

Changing Store Path


Guest contactwin

Recommended Posts

Guest contactwin

Hello,

I just recently finished the entire installation of CuBeCart, along with adding products and other modifications that needed to be done.

Now, However I wish to change the store path

from domain.com/shop/index.php to domain.com/index.php

Could you guys please advice

Best Regards

Rajesh

Link to comment
Share on other sites

*** FIRSTLY, BACKUP YOUR DATABASE AND ALL FILES BEFORE ATTEMPTING THIS***

Because of the encrypted nature of the database, you will have to go into your admin section and modify the directoy and URL of the store, then saving the settings, and move the files to the new location.

This *should* work, however just to be safe, ALWAYS backup first :)

Link to comment
Share on other sites

Guest contactwin

I checked with the admin area, but couldnt find the location to do so.

I can't possibly get a backup done of 750 mb :rolleyes:

But anyways will have to take the gamble :)

Can you please direct me from where in the admin menu do i find this option ?

Checked everything! couldnt find it

Best Regards

Rajesh

Link to comment
Share on other sites

Guest rhyan

I checked with the admin area, but couldnt find the location to do so.

I can't possibly get a backup done of 750 mb :rolleyes:

But anyways will have to take the gambleĀ  :)

Can you please direct me from where in the admin menu do i find this option ?

Checked everything! couldnt find it

Best Regards

Rajesh

I recently did this myself. Look in includes/global.inc.php and change your rootDir and storeURL

For example if your global.inc.php has:

$glob['rootDir'] = '/home/public_html/store';

$glob['storeURL'] = 'http://www.domain.com/store';




Change to:


$glob['rootDir'] = '/home/public_html';

$glob['storeURL'] = 'http://www.domain.com';

Then move your files to the new location.

As shop.lightspeed.net.au suggested.. please make a backup before you attempt this.

Link to comment
Share on other sites

Guest contactwin

I did that long ago,

it gives me a message stating

MySQL Error Occured

1146: Table 'tgo316_bazshop.Cubecart_config' doesn't exist

QUERY = SELECT array FROM Cubecart_config WHERE name = 'config'

Link to comment
Share on other sites

  • 8 months later...

Join the conversation

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

Guest
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...