- check your media upload path in the admin.
- verify that your DB has NO references to the old domain
(I am sure you have done so already, but I will post it anyhow)
when you do that , include the last trailing slash.
// update WordPress options , SQL command:
UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') WHERE option_name="home" OR option_name="siteurl";
// fix URLs of the WordPress posts and pages, SQL query:
UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com');
// SQL commands to fix all internal links
UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com');
- if that is not helping, disable all plugins (and custom function – functions.php) , remove all custom JS files, and try again .
Related Posts:
- Programmatically get images by URL and save in uploads folder
- How to automatically add rounded corners to thumbnails?
- How to change image type for specific size?
- is it possible to replace the use of gd_lib with imagick or ImageMagick?
- Remove title attribute from images
- Insert an image into a post by API
- How to limit number of images being printer out in “Set Featured Image” pop up?
- Black and White thumbnails
- How to grab first image attached to post and display in RSS feed?
- Double thumbnails?
- No srcset for hard-cropped thumbnails
- Can’t Display Featured Image in RSS Feed
- Displaying a featured image (only img url) as the img src?
- Download button for Featured Image in every post – automatically
- Removing Title Tag from Thumbnails
- When displaying the featured image, is has_post_thumbnail() necessary?
- Get original image from thumbnail URL
- attach unattached featured images to respective posts
- WordPress reduces the full size image and uses it as the original
- Thumbnails are bigger in size than the original image
- Remove image classes from post thumbnail output
- Special purpose photos with each post
- SVG Featured image not shown in twitter
- Featured images not displaying at full resolution
- Set Post Image Using Shortcode
- Print specific image size in galley loop
- WordPress crops images differently on retina screens?
- Image thumbnails not available post migration, but still accessible via direct URL – DB issue
- Site migration – some images not displaying in Media Library
- Migration to WP – Couldn’t load image
- How can I add a “data-pin-nopin” the featured image html?
- Images stopped loadding after adding SSl
- Fixing image names for a site being restored
- Setup Featured image on all posts from thesis thesis_post_image custom field?
- Export xml use/import images from theme directory
- Generate images to be associated for tag and category?
- Get custom thumbnail sizes [duplicate]
- Bulk-add featured images in posts with no featured image
- Should I not compress my jpeg files before uploading to avoid double compression?
- Custom responsive ‘featured image’ sizes
- Is it possible to preserve original images in order to change image size later?
- the_post_thumbnail(‘medium’) setting some images width=1 height=1
- Generating a certain sized thumbnail on the fly?
- How do you import images from a URL in your post?
- How to set uploaded image as featured image wordpress
- What can i do add title to ‘large’ image?
- Height and width attribute not setting by the_post_thumbnail
- add_image_size function not working
- How to force WordPress to upscale images?
- Why doesn’t WordPress use the smaller sized image?
- What sense makes medium_large_size_h => 0?
- How to set minimum required size for featured image?
- All Images not calling alt text
- How do I link a featured photo to it’s post?
- Can’t see images in posts after migrating site to subdomain
- Can we use featured image as third party website image URL
- After Migration, images show up on a preview of the page but not the actual page [closed]
- Is it possible to enable the ‘Link To’ field under ‘Attachment Display Settings’ for a Featured Image?
- Use default image as var
- add_image_size not working
- Placing a featured image into header
- How to add thumbnails to posts and pages automatically in a uniformed fixed elegant way?
- Resize uploaded images [duplicate]
- How do I display the featured image from an image gallery using a reference in code? (example within)
- How to replace post image url before posting using api?
- Using different size thumbnails on different parts of my site… with functions.php?
- Thumbnail and image management
- attach several images to post + gallery
- How to only show div of caption if caption exists on featured image
- How to change Gallery image url in product page ? In function.php?
- How is called this thumbnail slider feature
- How to echo images Urls from a wordpress post, that are relally in the post
- An error has occurred during the upload process in wordpress version 5.3.2
- Force WordPress to always generate a thumbnail for original image
- Get post thumbnail in specific size
- Import images from old WordPress site into new site
- Images 404 after wp migration to a subdomain
- Blank image thumbnails in media library
- How to set a post featured image from an already made custom field
- featured image in custom poste type (backend)
- Why does wp_get_attachment_image_src return the wrong size, when the correct size exists?
- stop wordpress from resizing feature gif images
- Using custom field to change alt text for a featured image
- Broken images/videos after migration – DIVI theme- works ok on Mac OS
- set_post_thumbnail_size only working for width
- Theme page headers and rotator images not assigned after website migration
- Troubles with code for upload a image
- How to display image thumbnails on the search results page?
- Declare global variable that can be used on other function
- Images in plugin broken after URL migration
- Get custom size of thumbnails
- How can I use images that are on the server locally?
- Black and White Thumbnail in WordPress Gallery
- Post migration – images do not display
- How do I mitigate the forward slash problem for URLs of images after a WP migration?
- Getting top Image From the Gallery and printing out a thumbnail with Exact Dimensions
- Tried everything but Facebook share button won’t load the post thumbnail
- has_post_thumbnail() Returns False on Scheduled Posts
- Why some images are not allowed to be edited only for thumbnails?
- How can I use an image from an external source without uploading it to the media library