Since (from what I understand) the issue only occurs to imported posts I suggest you try the plugin Search and Replace. It’s a quick and easy way to solve this problem.
WP stores the uploaded images in your database. Imported images probably direct to the old root, so you should change that to the new root. Search for the string '/wp-content/uploads'
and replace all with '/wp/wp-content/uploads'
. Be really careful with this plugin though, it’s a powerful one.
Related Posts:
- Media is not attached after import
- Getting Path To Uploaded Attachment Image After Upload
- InDesign to WordPress workflow
- Why doesn’t the WordPress Importer update posts?
- Some way to Flush or Overwrite all Imported Content in a Site for a Fresh Import – How?
- WordPress import does not fetch images, but just links them
- Moving image attachment from post to another?
- Delivering a file instead of wordpress page
- How can I get an image from the uploads dir and enter it in the media library? [closed]
- Is there a plugin that allows a user of your site to get an email from you with an attachment?
- How to get all attachment image from post ?? WordPress
- How to get custom field image url of specific size
- How can i change an image’s author?
- Converting a simple plugin to be placed inside of functions.php
- Set attached to state
- Set WordPress Featured Image For All Post Slugs Matching Image File Name in Specified Directory
- I am trying to match the wpallimport using the Xpath Filter
- How to get images from EDD post?
- How can I get full attachment url from wp_get_attachment_metadata?
- How to change ID of an attachment in wp_posts and its related tables correctly?
- Converting Attachment to Images?
- Unable to activate wordpress importer after installing it
- Exporting and importing my WordPress database, but none of the plugin settings are importing
- Get the url of the full sized attachment image using post ID?
- Randomize attachment IDs
- Limit Number of Taxonomy Terms (Images) Displayed
- Why Won’t Exported Blog From One Site Import Into New Site?
- Creating an online questionnaire form – by Importing the questions from a spreadsheet?
- WordPress Gutenberg react make import of __experimentalUseInnerBlocksProps which is no more experimetal
- How to change File URL in file uploaded to s3 compatible storage with self written plugin [closed]
- CSV syntax for WP All Import upload without ACF
- WP ALL Import plugin – import data from certain ids
- How to export post 2 posts WordPress plugin data [closed]
- WP All Import – Execute Imports
- import posts with dutch/special letters
- Permalinks stopped working after migration with WP all-in-one migration plugin
- WordPress and a secondary database?
- How to export all content with feature images?
- Import Instagram post to WordPress blog post
- Search by Attachment ID
- JSON API Plugin not showing Attachments id reused
- Designing a plugin that uses an iFrame to process data in admin
- Plugin generating unexpected output – on WP mysql dump import
- “After file loaded” action
- WordPress does not allow me to upload a .xml file
- Import Recent Posts Only and Ignore old ones if exist
- Save log for imports in WordPress database – options-table, custom post type or other place?
- Import a folder containing HTML files and images to WordPress
- submit two file input fields in the same form
- Get all image in media Gallery with alt/title?
- Bulk Edit Media Library alt, caption, image names
- How do I add a medium to the WordPress database with my own plugin?
- best way to upload a large file to wordpress using wp all import
- Add a WooCommerce Product Variant with attributes programmatically
- Import only new articles from Joomla to WordPress
- Attachments plugin cannot click media library button [closed]
- How to force regenerate thumbnails in WordPress posts?
- How to Insert images in WordPress using code
- Differentiate attachment pages in search results
- How to show post attachment image
- Import tumblr post to wordpress blog
- phpBB 3 to bbPress
- Building custom pages with a video player
- How to export and import plugin data through WordPress tools option
- Include theme header and footer in custom plugin
- How to prevent WP All Export from wrapping XML nodes in CDATA? [closed]
- Display static pages instead of category, in code
- Overriding FB Auto Connect plugin function displayed in footer
- Include subtitle display to slideshow
- Simple Data Table Update and Page Integration
- Advice on setting up private site
- How to add a box for list items?
- is ther a plugin that will hide/show content for a scheduled period of time? [closed]
- Any plugins that upload, resize, and display images? [closed]
- Share Bar over laps left column [closed]
- wp_update_post call really slow when official Facebook plugin is installed
- Updates for a private plugin?
- wp_pagination not displaying at top of page
- update_post_meta not working
- Pulling Advanced Custom Fields from other pages
- Simply Exclude – Category feed exclusion is excluding from category feed instead of just the main feed
- Checking url from plugin [duplicate]
- OOP Plugin: Where should I place the action hooks in the class?
- WordPress plugin WP-blocks is adding slashes before apostrophe
- how to call jQuery in admin as well as in homepage
- Form data to wordpress DB
- How to programmatically detect how many posts are displayed per page?
- Issue with custom plugin
- Pronamic Info Window
- Most visited posts
- Image rotator plugin
- How to set-up multiple cron task with wp_schedule_event so that they do not overlap?
- Deleted plugins displays error message
- Need help finding the right plugin for a dynamic piece of content that appears multiple places
- Vote It Up Plugin – Add ascending numbers to MostVotedAllTime Chart Function
- Using Taxonomies with Vote It Up plugin chart [closed]
- Modify plugin and submit to directory
- Thumbnails and Lightbox
- How do i use postMash to order posts in a custom loop?
- Choopy Video Playback in a popup using Artiss Youtube Embed [closed]