I have a non-editable word document with links that point to documents which had not yet been uploaded to our media library. These links should point to a download on the wordpress server. The issue is that these links use “%20” as spaces and wordpress defaults to removing the spaces instead of replacing them.
For example:
I need this: wp-content/uploads/2024/06/xx-%20xxxx%20xx.pdf
And I can only seem to get this: wp-content/uploads/2024/06/xx-xxxx-xx-xx.pdf
I can’t seem to manually change the file URL’s. Changing the name to including “%20” instead of spaces didn’t work as wordpress just removes the “%”. I also tried changing the slug, but that didn’t work either.
I’m not very proficient in wordpress or coding so I would like to avoid any solutions using coding.
[ad_2]
Upload the files manually via FTP – they won’t be visible in the media library but it will achieve your goal.
Alternatively, upload the file into the media library, using whatever name you like, and setup a redirect.