I’ve a folder mywebsite.com/wp-content/customUploads which incorporates a whole bunch of pdf recordsdata.
At this level the url to see a pdf file is for instance:
mywebsite.com/wp-content/customUploads/myfile.pdf
My purpose is to have a url for every PDF file like:
mywebsite.com/pdf-files/myfile.pdf
So if a person request the above url, the web site will load the pdf file.
Is there a option to request the url:
- mywebsite.com/pdf-files/myfile.pdf
and this url is translated to the next, so the file might be loaded appropriately?
- mywebsite.com/wp-content/customUploads/myfile.pdf