Zen Cart Logo
Forums / Upgrading to 1.5.x / Copy bd 1.5.1 to old site

Copy bd 1.5.1 to old site

Views: 1,485

Results 1 to 6 of 6
5 Jul 2013, 7:11 PM
#1
tecnick avatar

tecnick

New Zenner

Join Date:
Jun 2013
Location:
Portugal
Posts:
3
Plugin Contributions:
0

Copy bd 1.5.1 to old site

Hello

I have my site installed in public_html /loja with zc 1.3.9 and did a new install with zc1.5.1 in public_html /web, and copied all of the bd zc1.3.9 for zc1.5.1, and everything works fine, now i have two sites, the old colorspot.pt /loja and the new colorspot.pt /web, now I want to copy the files (admin) db zc1.5.1 to folder "loja" and keep the same template exists, is this possible? what files I have to change?

5 Jul 2013, 7:20 PM
#2
tecnick avatar

tecnick

New Zenner

Join Date:
Jun 2013
Location:
Portugal
Posts:
3
Plugin Contributions:
0

Re: Copy bd 1.5.1 to old site

Hello

I have my site installed in public_html /loja with zc 1.3.9 and did a new install with zc1.5.1 in public_html /web, and copied all of the bd zc1.3.9 for zc1.5.1, and everything works fine, now i have two sites, the old colorspot.pt /loja and the new colorspot.pt /web, now I want to copy the files (admin) db zc1.5.1 to folder "loja" and keep the same template exists, is this possible? what files I have to change? Thank you in advance.

5 Jul 2013, 7:30 PM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Copy bd 1.5.1 to old site

Your base URL automatically redirects to /loja, which serves no apparent purpose. I suggest you move your whole new site to /public_html/, changing the configure.php files accordingly, and skip the redirect. Your customers would then go straight to the new website without useless extra stuff in the URL.
http://www.zen-cart.com/content.php?160-i-have-installed-zen-cart-to-a-directory-how-do-i-rename-or-move-that-directory

You would want a 301 redirect from /loja to / so you don't lose existing links and search engine indexing.

6 Jul 2013, 12:17 AM
#5
tecnick avatar

tecnick

New Zenner

Join Date:
Jun 2013
Location:
Portugal
Posts:
3
Plugin Contributions:
0

Re: Copy bd 1.5.1 to old site

gjh42:

Your base URL automatically redirects to /loja, which serves no apparent purpose. I suggest you move your whole new site to /public_html/, changing the configure.php files accordingly, and skip the redirect. Your customers would then go straight to the new website without useless extra stuff in the URL.
http://www.zen-cart.com/content.php?160-i-have-installed-zen-cart-to-a-directory-how-do-i-rename-or-move-that-directory

You would want a 301 redirect from /loja to / so you don't lose existing links and search engine indexing.

hello
Ok, seems like a good idea, and agree not serve any purpose.
but I still have some doubts:
1 - to do this is to simply copy and paste?
2 - I like to keep all customization on site "colorspot.pt/loja" that has zc 1.3.9, such as color, translation etc.. without having to do it all again in the new site zc1.5.1 "colorspot.pt/web" is possible by copying and pasting?
Thank you for your help

7 Jul 2013, 3:26 AM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Copy bd 1.5.1 to old site

Read the tutorial on moving your site from a directory. You would either copy/paste, or move, the complete content of /web/ to /public_html/, after completing all customization. Then you need to edit the configure.php files as described.

For translations and other text, you must copy the customized language files from your old site to your new site. Colors etc. require copying your old stylesheet, and any other customizations likewise will require some copying and possibly comparing and merging files. Read the complete tutorial linked by DrByte for more information.