dynamic Root URL for raw/upload
This feature is mentioned here https://cloudinary.com/documentation/advanced_url_delivery_options
in the context of image types. Is it possible to configure it for raw image types?
Thanks
Mark
Best Answer
-
As stated in our documentation, the `root path url` feature is only available for images so you can't use it for
raw
files.Your only option to use SEO friendly URLs for
raw
files would be to use the Dynamic SEO suffixes as documented here.Best,
Loic
0
Answers
-
Hi Mark,
Yes, please let me know if you need help :)
-Tamara
0 -
Perhaps I need to re-phrase:
Can you show me how to change the root folder behaviour for raw types. I cannot find reference to doing so within the documentation.
0 -
Can you be more specific? what's your use case?
If you don't want to share it publicly, you can always open a new private support ticket:
https://support.cloudinary.com/hc/en-us/requests/new
Best,
Tamara
0 -
Hi Tamara
The documentation states
I make use of this for my images such that the delivery URLs are https://res.cloudinary.com/lu1/198092/Original
I wish to do the same for raw uploads ie both of these should work
https://res.cloudinary.com/lu1/raw/upload/1004463/Original
https://res.cloudinary.com/lu1/1004463/Original
BUT the second one does not work.
How do I make this work for raw uploads i.e. where do I set the resource type and type parameters to the non-default values of 'raw' and 'upload'? Where is the documentation which shows me how to do this?
Thanks
Mark
0 -
Hi Loic,
Respectfully, that isn't quite clear in the documentation. It says that by default it is for 'image' and 'upload' which implies that the default could be changed.
"With Cloudinary's Root Path URL feature, the resource type and type parameters are set to the default values 'image' and 'upload' respectively..."
I will just have to continue having a longer url for raw's.
Thanks
Mark
0 -
I've the same problem that Mark I need to access my resource url without the asset type. Independent it is a video, raw or a image.
I've already read the docs and only work for image
I need root path access for videos and raw.
for example This is my video url uploaded :
I need to access my video without the /video/upload/ prefix like so:
https://res.cloudinary.com/dmm9m9lhc/v1710098320/publisher/16a954aeee31925b14f41cdbc8c816c8.mp4
PLEASE! its for verify the content resource to use the tiktok api. Please help me!
0