Broken media upload links

[ad_1]

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]
1 Comment
  1. 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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer