Zen Cart Logo
Forums / General Questions / changing directory?

changing directory?

Locked

Views: 960

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
4 Jun 2008, 11:43 PM
#1
zingslings avatar

zingslings

New Zenner

Join Date:
May 2007
Posts:
70
Plugin Contributions:
0

changing directory?

I'd like to change my site from being https://www.mysite.com/demo to https://www.mysite.com/store

Can I just change the /demo folder name? Or will there be files and databases I will need to update as well?

5 Jun 2008, 12:36 AM
#2
fatguyinaz avatar

fatguyinaz

Zen Follower

Join Date:
Oct 2007
Location:
Safford, AZ
Posts:
313
Plugin Contributions:
0

Re: changing directory?

You shouldn't have any problems, that I know of.

  1. Put your store in Maintenance mode.
  2. Change the name of the folder from demo to store.
  3. Change file permissions on /includes/configure.php to 755
  4. Change file permissions on /admin/includes/configure.php to 755
  5. Edit both files and change all instances of demo to store. Don't change anything in the database area of either file. For example, if your database is called demo, I would suggest leaving it as such. You can always work on that another time.
  6. Change file permissions on both configure.php files back to 444 (you will need to use your cPanel to change back to 444.
  7. Take store out of Maintenance.That should do it for you. If for some reason this doesn't work, you can always change things back very easily.
5 Jun 2008, 2:57 AM
#3
zingslings avatar

zingslings

New Zenner

Join Date:
May 2007
Posts:
70
Plugin Contributions:
0

Re: changing directory?

That worked great, thanks so much.

5 Jun 2008, 5:07 AM
#4
fatguyinaz avatar

fatguyinaz

Zen Follower

Join Date:
Oct 2007
Location:
Safford, AZ
Posts:
313
Plugin Contributions:
0

Re: changing directory?

I'm glad it worked for you and it was a pleasure to assist you.