I use Search-Replace-DB from interconnectit for years now and had always good results with replacing urls. In case you have Yoast SEO plugin installed you might have to deactivate it when you rewrite the urls, otherwise I never had trouble using that scripts up to now.
Related Posts:
- Back up uploads folder outside of wp-content?
- How to change archieve frequency of the media file in uploads folder for wordpress blog
- How does WP media uploader create the 3 different sized images, and how can I duplicate it
- How to assign multiple file-mime-types to extension?
- Is it possible to reorganize the WordPress uploads directory?
- Create image formats with different qualities when uploading
- Which filters or actions to use after a media upload and delete?
- wp_delete_attachment doesn’t delete images in wp-content/uploads/
- Force WordPress 3.3 to use Flash uploader
- Protecting direct access to PDF and ZIP unless user logged in (without plugin)
- How to restrict images in v3.5 Media Library modal to only those from a specific post id?
- Allow CSV files to be uploaded
- How to add more upload directories?
- Multisite, upload images directly to Amazon S3
- How can I speed up a slow loading media library?
- How can you limit the number of images / videos that can be uploaded to a WordPress post
- Failure upgrading / updating site to WordPress 4.7
- Impose a Maximum Limit on Image height and width upload size
- Force wordpress to see uploads folder media
- Moving Media Library
- Add item to media library from blob or dataUrl
- Frontend Simple Local Avatar upload
- Disable TinyMCE Drag and Drop
- Looks like image resize is not working well
- Allowing all/different file type uploads
- resize images not crop
- Trying to add filename over image in Media Browser
- How Can I pass an image file to wp_handle_upload?
- Upload image from a URL and assign it as a Featured Image to a Custom Post Type?
- Setting wp_temp_dir and permissions not working for “Missing A Temporary Folder” error
- Allowed memory size exhausted. WordPress side solution
- How to hook into wordpress admin upload iframe?
- frontend upload return async-ajax.php 302
- Prevent File Uploads other than images
- How can I upload a file with no extension
- Media handle sideload not working
- How to overwrite wp_unique_filename logic
- How to change upload directory based on frontend form input name or ID?
- capability for upload on front-end (An error occurred in the upload. Please try again later )
- How to solve: An error occured in the upload
- What function can I use to override the multisite maximum file size upload restriction?
- Cannot upload .mp3 file to wordpress media
- Flatten media files in uploads directory via linux terminal eliminating thumbnails?
- WordPress suddenly starts uploading media to an old (backdated) folder
- Delete files uploaded using the wp_upload_bits() function
- XML-RPC: How to add media caption to uploaded image?
- Interface for logged-in users to upload/download files
- wp_handle_upload() does not list uploaded file in the media library?
- Error uploading image in WordPress
- Can I change the URL of a video, or upload a video to a specific URL?
- The uploaded file could not be moved to wp-content/uploads/2019/07
- wordpress media upload given An error occurred in the upload. Please try again later
- Using wp_enqueue_media() with switch_to_blog() issue
- Media library only shows for admin. Doesn’t show editor or below [closed]
- Upload featured image from front end using media-upload.php
- Get File Object from wp.Uploader
- wp_handle_upload: get custom checkbox value from media uploader
- Edit User Profile From Front End
- How can I upload to wp media library by foundation zurb ajax
- Saving file to disk receiving fopen error
- Check for file extension or mime type fails
- Error when upload images larger than 1024px [closed]
- A link (not in the post) to download a specific PDF file
- uploaded images not going to /uploads folder
- Setting image upload absolute path?
- Set different max upload size limits based on file type/extension
- Correctly using the root directory for media uploads?
- how to change wp upload directory to another domain directory
- Populate a custom attachment metadata field with data from the image’s EXIF data?
- Disable “Create Audio Playlist” and “Create Video Playlist” in Add Media
- Change file name on upload in Media Page
- What is the URL pattern for image thumbnails + sizes?
- Setting up a HIPAA secured form / file upload
- limit media upload to once a day
- How to download files to WordPress?
- How to detect when a file has been uploaded?
- wp-content/uploads returns a 404
- PDF Upload from Input Error
- Multiple images are generated in WP-content in wordpress
- Removing extra large generated images disables all crops
- MIME types not recognized by media library
- How to allow .xls file uploads?
- Upload automatically html files
- Bulk upload images in upload folder does not show in media library
- Is there some way to find if media items are used anywhere on the site?
- wp_update_attachment_metadata breaks after 10 files
- WP_Custom_Media_Control | Give ID to media file
- WP Add Media Button – Can I set the default size to Original/Full Size
- Video limit about wordpress
- Can i add flickr,imgur etc. up-loader for my WP upload media button?
- How to split my uploaded media into directories?
- get the post thumbnail returns the full size
- All files unattached in Media Library
- WordPress media upload multiple images
- Media Upload Directory to MMYY instead of YYYY/MM
- Is there a way to force Featured image to show as attachement?
- Auto-Import of WXR File
- how upload images and videos to specific folder like wp-content\uploads\folder-name
- Problems with defining UPLOADS constant
- Image in binary in the data to WordPress media library