Skip to main content

Upload a file and link to its public address

Make a PDF or image available via a working file address and link it from the correct page or product.

Make a PDF or image available via a working file address and link it from the correct page or product.

This guide is for administrators in Go, Plus, and Pro with access to the file archive. In a multi-store setup, the archive is opened from the main store, and the physical directory is shared with the sub-stores. The file archive's public files are not a secure system for selling downloads.

Treat files published from the file archive as public: anyone with the file address can share it. Do not put personal data, passwords or other secrets there. A hidden menu link or hard-to-guess filename does not provide access control. Use downloadable products when access must be linked to a purchase. Check existing links before moving, renaming or deleting a file.

1. Upload and check the file

  1. Select the main store if you are using a multi-store setup.

  2. Open Appearance → File archive and select the upload icon.

  3. Select a file you have the right to publish. Check that it contains no private customer data or secrets.

Check that the file type is supported and that the file size is within the limit shown in the current uploader. A limit for product images or total storage space is not the same as the File archive's upload limit.

2. Copy the full file address

  1. Open the file from the archive, for example, katalog-nyheter.pdf.

  2. Copy the entire public address when the file has opened, not the admin page address or the file's local computer name.

  3. Check the address without relying on an administrator view.

A fictitious example of a full address is https://filer.example.org/katalog.pdf. Always use the actual URL that your archive provides; the files may be on a CDN/file domain and do not need to be on the store's regular domain.

3. Link from a custom page, home page, or product

  1. Open the correct language version in the page/product editor that your store uses.

  2. Write understandable link text, for example, "Download the product catalogue (PDF)".

  3. Select the text and select the link icon.

Paste the file's full URL into the link field and confirm.

Check that the text has become a link, select Done where the editor uses it, and save the page.

Open the public page in the correct language and sub-store. Click the link and check that the correct file opens. A link in a main store text does not automatically provide the same content in all sub-stores.

4. Add an image to the product description

Use the product's standard image module for the product gallery. If the image needs to be inside the description, upload it to the archive and copy its public address.

Select the correct uploaded image, for example, football.jpg:

Open the image and copy the full URL.

  1. Open Assortment → Products → the product → Edit → Description.

  2. Use the editor's image function or its HTML mode when supported.

  3. Enter the image's URL and an alternative text that describes its function and relevant content.

<img src="IMAGE_URL" alt="..." style="max-width:100%;height:auto">

Change IMAGE_URL to the image's full address. Replace ... in the alt attribute with a description of your image, for example, "Blue football with white panels". Alt text is not the same as a filename or a visible caption. Preserve the correct dimensions/aspect ratio when the editor handles them.

5. Avoid broken links and incorrect access

  • Moving, renaming, or deleting a file can break existing links. Document and update affected links before you clean up the archive.

  • The fact that a file is not in the menu does not make the file address private.

  • For a file that the customer must pay for: use the feature for selling downloadable products, not a public PDF attachment.

  • The fact that SVG is accepted in the archive does not mean that SVG is an approved format in the product image uploader. Executable files and paths should not be used as upload examples.

  • In case of an upload error: check the file type, filename, file size, and the limit or error text that the uploader displays.

Quick start

  1. Open the correct file archive and upload a permitted public file.

  2. Copy the file's full URL.

  3. Link with clear text in the correct page/language and save.

  4. Check the public link and preserve the address in case of later changes.

Subscription and access

File archive is available in Go, Plus, and Pro. In a multi-store setup, it is managed from the main store. The current upload limit should be read in the correct uploader; the File archive does not provide automatic access protection for paid files.

Icon for uploading a file
Did this answer your question?