shell scripting - How to zip contents inside a folder without the folder itself?

This should do the job:

zip -rj site.zip folder-root/*

zip --help says:

-j   junk (don't record) directory

cd folder-root

zip -r ../site.zip *

This question has a similiar problem and the answer could work. https://stackoverflow.com/questions/2597875/how-can-i-build-a-tar-from-stdin

zip site.zip `ls -1 folder-root/`

This will create the list of files that you want to add into your zip file.