Arranging your folders
Sirv provides an easy way to share and serve your files, so you'll probably use it increasingly more over time. Thinking of a logical folder structure from the beginning will help keep your files organized into the future.
Folders and sub-folders are the best way to organize your files, helping you easily navigate and share your images, videos, PDFs and any other files.
At the very top level, aim to have a relatively low number of files and folders. You can do this with very broad groups, for example if you're hosting product images on Sirv, you could create a top level folder called products, rather than storing each product or categories of products in the root of your account.
If you're hosting 360 spins on Sirv, be sure to store each set of spin images in its own folder, to avoid confusion or endless scrolling through thousands of images in a single folder.
There is no limit to the number of files and sub-folders but we recommend aiming for fewer than 1,000 files/folders in a single folder. This will help ensure that folder contents load very quickly when you're browsing your Sirv account at my.sirv.com or by FTP.
If the contents of a single folder are likely to grow beyond 1,000 files/folders, make a plan to split the content into subfolders. One method is to name sub-folders with the first one or two characters from the file/folder name. For example, a file with the name ladies-shoe-174925.jpg could be moved to a folder la like so /la/ladies-shoe-174925.
If the contents of a single folder grows beyond 25,000 files, the files will still be processed and served as normal. They will also be accessible in FTP and searchable in my.sirv.com but they will not be browsable.
Name your folders and files according to a predictable naming convention. Human readable folder paths will help you navigate folders in my.sirv.com and will also contribute towards good image SEO.
If you're hosting images for an ecommerce site, a logical folder structure would be one folder per category, with subfolders for each product. The category names would match your website, as would the product names or SKUs. That'll permit you to automatically serve the right images for the right product, particularly if you use a Sirv smart gallery and/or its thumbnail capability.
If you're hosting 360 spins on Sirv, we recommend using one folder for each spin.
Folders could be stored in the root, like this:
But better to arrange store them in a subfolder, such as this:
Or with product categories:
Or into a folder for all your spins:
Or any other structure that makes sense for your business.
Sirv is case sensitive, so these two folders are unique, not the same:
You can use spaces in filenames - they will automatically be encoded as '%20'. However, to minimize the possibility of human error when coding, we recommend using hyphens '-' or underscores '_' instead of spaces.
If you move files or change their names, keep in mind that the original URLs pointing to those files will no longer work. If your website references old URLs, you'll need to update your site to point to the new file location.