Subfolders

Putting your cart in a subfolder

The most common way of installing your cart is to make it your main website, so the cart files would reside directly under the public_html folder.

However, it is possible to deploy your cart in a subfolder below public_html. Examples of when this would make sense is if you already have a website (such as a blog or a regular website) at the top level, or you want to allow for this option in the future.

See deployment model 3 and deployment model 4 for examples of subfolder deployments.

Note that if you are installing a test version of your cart that uses a different version of PHP than your live site, see Multiple PHP Versions for instructions, since the procedure is a little different.




Still have questions? Use the Search box in the upper right, or try the full list of FAQs. If you can't find it there, head over to the Zen Cart support forum and ask there in the appropriate subforum. In your post, please include your Zen Cart and PHP versions, and a link to your site.

Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started. You can even PR right here.
Last modified January 11, 2024 by Scott C Wilson (aa70fbf).