Dynamic SEO URLs when images are in a folder
In the docs, this example is provided for a dynamic SEO URL:
This approach doesn't seem to work for me. I think the reason is that my images are in a folder, and no matter where I try to integrate the folder name into this URL structure, it doesn't work.
What is the intended structure for dynamic SEO URLs if the images are in a folder? Thank you.
Best Answer
-
Hi @yotango
The structure is always the same i.e:
https://res.cloudinary.com/cloud_name/images/transformation(optional)/version_number(optional)/public_id/seo_suffix.extension
where
public_id
isfolder1/folder2/filename
. Of course, if the file is in the root folder, then there is nofolder1/folder2
An example is https://vdeub-res.cloudinary.com/images/v1690815883/wordpress_asset/playground/300/cloudinary_cloud_glyph_1200x1200_93377c8a01/cloudinary-logo.png where my
public_id
iswordpress_asset/playground/300/cloudinary_cloud_glyph_1200x1200_93377c8a01
.Loic
1
Answers
-
Great, thank you. This works.
0