SEO Friendly file names #1
-
Hi @shinsenter, I'm looking for feature rename image filename. Can you explain about this feature in your setup? Example: I have an source image like: http://localhost/file/pdfimgs/icons/2001.png May I ask, is your configuration able to do that? Thanks you. |
Beta Was this translation helpful? Give feedback.
Answered by
shinsenter
Jul 8, 2022
Replies: 2 comments 4 replies
This comment has been hidden.
This comment has been hidden.
-
@lephuhai map $uri_omitted_origin_preset $origin_uri
{
default '$uri_omitted_origin_preset';
# Syntax: 'Access file path' 'real file path';
'/file/pdfimgs/icons/elephants-at-sunset.png' /file/pdfimgs/icons/2001.png;
} |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
shinsenter
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@lephuhai
You may try modifying the block of
$origin_uri
as below: