If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / 2 Sites Symbolic link for the images folder of 2nd site

2 Sites Symbolic link for the images folder of 2nd site

Locked

Started by nigelt74 on 4 Dec 2007, 4:01 AM · Views: 1,162

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
4 Dec 2007, 4:01 AM
#1
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

2 Sites Symbolic link for the images folder of 2nd site

Moderator please move this wherever you think appropriate

Hi all

I will have 2 sites on the same server, Wholesale and one retail, both will sell pretty much the same products is it possible to use a symbolic link so that i just use the one products image folder
will it even work with Zen cart?

current set up is

mysite/retail/images/products
mysite/wholesale/images

the products folder is where all my product images are

Any suggestions are welcome

Thanks Nigel

Webzings Design
Semi retired from Web Design

4 Dec 2007, 12:56 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: 2 Sites Symbolic link for the images folder of 2nd site

Generally speaking, that should not be a problem as long as the files are all in the same FTP account.
Symlinking won't automatically tie the images to the products in your 2nd database ... you'll have to specify those manually using the appropriate relative path of your symlink.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

4 Dec 2007, 9:40 PM
#3
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: 2 Sites Symbolic link for the images folder of 2nd site

Thanks for that Dr Byte, now i can dust off my old unix textbooks and actually use them

Webzings Design
Semi retired from Web Design