Method to store uploaded files (pdf) without modifying path.

We are migrating from a non-shopify site. Store has several hundred products. Each product has a pdf spec file. I have the current url of every file - they follow an organized naming structure where the file name is named afte the product title. Shopify’s normal content/media file system will assign a random url to every pdf. Initial upload will be tremendous effor needing to map each file to a product - whereas if the file name did not change I can simply edit the url of the file path in bulk. The specs change frequently, so updating one would be painful also.

Shopify aside, is it even possible to have a non-shopify webspace/host living under the primary domain.

Hey, when uploading files under Content>Files, you can maintain a certain URL structure.

After uploading all files, you can append the rest of the URL and be good to go.
For example, there are 2 files uploaded - note that the only difference in the URL is the file name.

Example 1: https://cdn.shopify.com/s/files/1/0790/0807/1979/files/Studio_Enchant_Shopify_benefits.png?v=1739037372

Example 2: https://cdn.shopify.com/s/files/1/0790/0807/1979/files/Studio_Enchant_Shopify_page_asset.png?v=1739037372

If you need further assistance, feel free to contact us!

Thank you. Unless I’m missing something obvious I don’t see this as any global option. I think I can individually edit the path of uploaded media, if that’s what you mean ?

@JoeCat
You can just use any text editing software and replace the old url to the new one.

There is no need in doing it individually