if you are familiar with WP-CLI ( WordPress command-line interface ) you can very easily search and replace the wrong uploads// url with uploads/.
you will need to install the wp-cli.phar file in the root of your directory.
there are many tutorials online that explain how to install it for your relevant system. It is very straight forward if you have used other command line tools before
WordPress.org explains the search-replace.
Related Posts:
- Media items hogging pretty permalinks
- Make attachment pages require a base url
- Stop WordPress from reserving slugs for media items?
- Is there a user-facing interface to edit an attachment’s permalink?
- Adding File Extensions to Attachment Page Permalinks
- Dynamically create Permalinks for uploaded files?
- WordPress auto generates small medium and large of an image on upload, how can we guess their links?
- Migrated from Windows to Linux. Any bulk methods for fixing case sensitivity?
- Images in media library have suddenly disappeared
- Media/attachment urls don’t redirect with fake URL structure
- Code snippet to add filter pre_post_link to change Media URL (post_type attachment permalink/slug)
- WordPress image title attribute becomes permalink? [duplicate]
- All files in public_html, Cannot launch WordPress site via wp-admin
- How to use ‘blogs.dir’ as media upload instead of ‘uploads’ directory in WordPress multisite setup
- How do I add /blog/ as a prefix to permalink structure for blog posts, tag pages, etc.?
- How to add new tab to media upload manager with custom set of images?
- How do I set a custom base URL for standard posts?
- Does WordPress Change the .htaccess File When Updating?
- WooCommerce return 404 on category pages
- why does anchor name add a slash to url?
- the_title() and the_permalink() won’t work on AJAX calls
- Refresh wp.media after ajax call
- What is the best practice to check for pretty permalinks?
- Subdomains to pages
- Redirect old permalinks to new permalinks
- How to map permalinks with accented letters to sanitized slugs?
- Homepage loads but all permalinks are 404 when using nginx & PHP-FPM
- Custom rewrite rules for a $_GET request
- How to increase the character limit for post name of 200?
- wp_temp_dir does not change the /tmp temporary default directory
- Apostrophe in permalink results in page not found
- How to get full content including template HTML
- Why does SVG upload in Media Library fail if the file does not have an XML tag at the beginning?
- HTTP Error when uploading files above 7mb unless using GD Image Editor
- Infinite redirects after changing the permalink of a page
- Permalinks settings page blank
- How to have extra permalink for posts
- Trouble with numeric permalinks after 4.3.1
- Editing Pages Give 404 Error After WordPress Upgrade in Admin Panel
- How to get post object on blog template
- Illegal characters in URLs
- Error updating pages, and linking to pages (permalink error)
- Create a new post using rest api and save featured image using an external image url
- Permalinks dropping after 3-4 weeks with no changes in theme or plugins
- WordPress Sub domain
- How can i have a custom post type with more slugs for each post?
- Create a PHP page to refresh the permalink on a custom table
- Custom permalink for specific category
- Permalink structure between 2 custom post types and a taxonomy
- Upload featured image from front end using media-upload.php
- Importing 10 Years of Media into the WP Database
- How to use all tags in post permalinks
- WordPress Automatic Filename Changer
- Disable date based archives for all categories except one
- Permalink target for recent post
- How do I reclaim either deleted pages or their permalinks?
- Remove parent page from url
- Remove “attachment/” from the URL of attachment pages
- How do I change the permalink structure without getting 404s?
- how to alter permalink in wordpress?
- Adding User Info to Permalink of User pages – is it neccessary?
- Permalink will not change – it wants to have -2 slug [duplicate]
- Permalinks 404 after Subdirectory to Root Migration
- Custom upload folder
- optional parameter in permalink structure
- Get a link to paged() part?
- Two custom taxonomies in permalink structure
- Blogger To WordPress Permalink Redirection
- What is the simplest way to create a redirect
- How to make different urls for some tags pages
- WordPress’ «post name» setting broken
- Keep wordpress basic permalink preferences
- .htaccess to redirect to a wp page
- My WP homepage works, but the other pages don’t when accessing from out side of my network
- How do I use the same Tag slug for different Tags?
- Replacing + sign to – in wp Search Permalink
- Permalinks are not working in WordPress
- Logging in to installation in subdirectory renders broken dashboard (no CSS, broken links)
- Woocommerce product page 404 not found
- Media uploads error
- WordPress and NGINX – permalinks are not working with ending slash
- Get value from URL with different types of parameters
- a way to support totally different url structure
- Permalink not working
- When using number in url it is redircting to same page but when using character it redirects to 404
- Once redirected by Rewrite rules, how can WordPress know the page?
- Webdav with permalink in WordPress v3.3.1
- How to upload an image using media uploader and return the image link to javascript?
- Why not working /%postname%/ with ajax serverinterval?
- Custom Permalink Base
- Appending a variable to RSS link url
- How to get WordPress to NOT alter the permalink structure when adding a static page?
- Can I specify template to use with the_permalink?
- Can’t find permalinks section under “Settings”?
- domain.com?p=POSTID permalinks not working with custom post types
- After migration works only first page
- Permalink stops working for the latest post only about 15 minutes after publishing/editing
- Using a variable in page permalink
- What is the proper use of guid for images in wp_posts?
- Rewrite permalink with PHP processing