The easiest way would probably be:
1) perform a WordPress XML export ( Dashboard -> Tools -> Export )
2) import into a clean WordPress install ( Dashboard -> Tools -> Import )
At this point, everything in the /uploads
directory of the clean install is attached. You can now:
3) backup/delete your original /uploads
directory
4) copy over the /uploads
directory from the clean install
Related Posts:
- Is there a flowchart for WordPress loading sequence?
- How do register_sidebar() and get_sidebar() work together?
- Custom maintenance page
- How to customize the default HTML for WordPress Attachments
- Is it possible to change the attributes of a registered style or script before it fires?
- how to change “published date” format on edit.php (Posts page)?
- How can I integrate pages written in something other than PHP?
- How to change submit button value in comment from “Post Comment” to “Send”
- Custom field values in permalink
- Creating a searchable A-Z listing of hundreds of companies/services
- Show attribute description when filtering by that attribute
- Custom protected password page with ACF
- Customize in category page
- Custom Dashboard Home Screen Options
- How to get WordPress to accept the tag in articles (or other alternatives)
- Add custom column to Users admin panel with Types user custom fields?
- How do I change the default admin color scheme in MP6
- What’s the proper way to use a custom table? [closed]
- woocommerce Add custom field set like billing fields
- How can a single line in a blog post take down my server?
- Calling a php file from a javascript file in wordpress
- Adding a Table to the wordpress database
- Integrate WordPress into existing website
- how can I change the background color of all posts on my server?
- Auto redirect after session expire, but only for one user
- Turn off redirect to canonical domain (or host website on any hostname)
- CSS to remove “comments count” icon from main page [closed]
- Custom title, Bones theme
- How to create a completely private wordpress with multiple membership levels
- Why do posts disappear from admin after upgrading from WP 2.7.1 to 3.0.1?
- How to change the category url jusy show /category/%category_id% in wordpress?
- custom meta box for page default template
- How can I display a PHP foreach loop’s answers by AJAX
- No shipping method has been selected [closed]
- Child Theme with multiple css files
- Organizing the position of widgetized areas in the backend
- “An automated WordPress update has failed to complete – please attempt the update again now”– But there is no .maintenance file
- How do I redirect a post url to a custom url?
- How to customize
- Why the css in twenteenfourteen-child theme take no effect?
- Determine if action was executed in functions
- Extending core class in plugin
- Is there another way to customize a parent template file besides adding the file to a child theme?
- Implement a Walker with custom object rather than WordPress database object
- Replacing words in WordPress or theme (not in content)
- WordPress Child Theme Stylesheet being loaded before Parent’s minified .css
- How to create custom search page
- Adding tags when creating new post
- How can I tag a menu item as visited for each unique user?
- Add Member’s birthdate from Backend and shows it on frontside [closed]
- Many Rewrite Parameters/Rules
- Adding other links on header than LinkedIn, Facebook, Youtube etc
- How to have multiple WordPress Menus
- How to Render Post Types in RSS Feed?
- 404 when Previewing an unsaved draft
- Custom Taxonomy Sort For a Custom Query
- Where to upload my new custom ShortCode in Separate .php file?
- Display a specified content on a Page and all its child pages
- kitchen sink not working
- Is it possible to auto sharing post on social network from specifc categories or tags
- wp_insert_post custom taxonomy multiple Category not added
- Get custom text if in Category
- Custom field not editable by the user
- WordPress category custom title
- How do I make mysite.com/comingsoon WordPress to become my main website’s WordPress?
- Use a custom page with dynamic content as a user profile page
- Can’t upload format files on media library
- Invitation link to a site in multisite network does not work?
- Add helper text in custom-header section in admin
- How to edit content in code view of home page when there is some theme applied?
- How to display strikethrough text in button text (for special offer)
- Remove Title and White Space in Twenty Twenty theme
- How to show Term ID beside Name Category with wp_dropdown_categories()
- Can we add an extra button on woocommerce shop page and use it to send the product info including image in a mail?
- WordPress Performance and bulk edits
- Add a custom intro page
- How to have differents sites share the same tables of DB?
- How to add particular attribute of product in shop as well as home page
- Delete page titles
- How to change custom link of subpages from of localhost to website
- Duplicate Header and Footer
- Send email notification when post type product is publish from pending status
- Custom login doesn’t stay
- Custom dropdown search form that allows users to select option B based from Option 1
- Smarter Document Management links between three WordPress sites sought
- data retrieval presents last set of data
- Accountless password generation
- Creating a Treeview Listing of a Directory
- How to get name and email value from a custom form and add it to campaign monitor subscriber list?
- Create a google friendly header with text and logo
- Disallow “contributors” to edit their own posts once they’ve been set to “Pending Review”
- insert autofocus in a custom taxonomy form
- Custom Link In WordPress Media “Attachment Details” Upload Screen
- display my pages html
- “Static” pages within a theme
- Custom WordPress SQL Query 4 posts per custom taxonomy
- Disable all Fonts that are Standard in WordPress and replacing them with a custom Font?
- Custom product sorting archive page
- Add custom information in editor summary
- A Voting system for a pageants