Remove Date information in Media URL
-
Hello everyone,
I am at my first experience with wordpress and I don’t have any experience with it.I am involved into a project at school that involves printing in 3D some static QR Codes that redirects to simple PDF files into my wordpress page.
In the WordPress Medias I putted some pdf files.
Every of this files have an URL, like this example:https://nameoftheblog/…/files/2018/07/LP_01.pdf
The problem is that WordPress generate an URL with the date in it (2018/07).
This lead to a problem: If I update the PDF file with the same name one month or year later, the URL will not be the same anymore and the QR code will not redirect to that file anymore.
I need an URL that is FIXED and not time dependant.I want to have the possibility to update my pdf files without changing their URL.
I was looking for something like this:
https://nameoftheblog/…/files/LP_01.pdf
Is it possible to erase the date from the generation of the URL of new medias?
I altro tried to look in other blog pages and i’ve seen that in Settings –> Media
some of them showed that there is an option called ‘Organize my files into month- and year-based folders’The problem is that there is no such option on my media settings.
I already know that my website is self hosted and my web host should be Switch.
I Thank you very much in advance for your help and avaiability.
The page I need help with: [log in to see the link]
- The topic ‘Remove Date information in Media URL’ is closed to new replies.