Search & Replace Not Working on Media Library URLs
-
This has always been a great & helpful plugin, so there must be something that I’m doing wrong here.
I’ve been changing my site over from having media items organized into sub-directories by month & date and am now using the main ‘uploads’ directory to store all uploads.
I’ve been going through the old sub-directories (such as ‘/uploads/2012/08/,’ ‘/uploads/2012/09/’ etc.) and moving the files to the ‘/uploads/’ directory.
I’ve performed as search & replace to update the URLs to the new location (without the /YEAR/MM/) portion. The replace works perfectly on content within the site (within pages, posts, etc.) – everything on the visitor’s end looks great.
However, within the Media Library for site admins:
- the media URLs are still listed with the old URL (which include the ‘/YEAR/MM/’ portion)
- the thumbnails display as blank (since their source is pointing to a broken/incorrect URL (which includes the no longer valid ‘/YEAR/MM/’ portion)
If it helps to know: I tried running a similar search & replace with both ‘Velvet Blues Update URLs‘ and ‘Go Live Update URLS‘ – NONE of these attempts have resulted in the media library URLs getting updated.
Any thoughts as to what I’m doing incorrectly -or- how I might go about fixing the Media Library media URLs?
Thank you!
- The topic ‘Search & Replace Not Working on Media Library URLs’ is closed to new replies.