Relative URLs are considered bad practice in WP, because of such issues and that they can be much more complex to migrate.
Basic approach to fixing this (not counting changing to absolute URLs everywhere) would be to filter the_content
, while checking for is_feed()
, and adjust links on the fly.
Related Posts:
- How to grab first image attached to post and display in RSS feed?
- Change the RSS feed image
- force feed readers to pick atom version
- How to add image in rss?
- Get content from one WordPress website to another
- Displaying images from external RSS feeds?
- Adding HTML within an image title attribute
- Can’t Display Featured Image in RSS Feed
- alt, title tags not showing
- How do I remove generated HTML around images in posts?
- Why html tags are being appended to my pictures?
- How to resolve – IE 6 ignores img “width” properties
- Trying to create a mouseover effect in html using Gutenberg editor
- How do I create an alternate RSS feed for tags with custom image sizes for MailChimp?
- How can I insert an image map into a WordPress blog post?
- Images will not display, when I call them up with html in wordpress, just two blank small spaces [closed]
- How to fix “.webp” being auto-added to the end of image urls
- Changing default img html markup but not in admin back-end?
- Modifying the HTML Output of Inserted Images
- Rewrite inline image markup
- Modify RSS – remove image and add text
- Can’t add image to site via php
- remove enclosure url from feed
- How can I get url from image tag in feed with fetch_feed?
- What exactly is the description field when uploading an image?
- HTML Img with data:image src gets sanitized in admin?
- Landing Page with HTML CSS JS and Images on wordpress
- How to link to img src using HTML email template in WordPress
- Relative path not working at all in WAMP local environment
- Display ajax preloader for large images within posts
- Garbled HTML pulled for page description “caption id=attachment…”
- Imagem resolution responsive
- where is images/image.jpg?
- Issues with the excerpt (wordcount/HTML/images)
- Parallax image problem
- Hover images and Videos
- Placing a background image with text over it
- Gutenberg block HTML image rendering override
- Maintaining image color and quality when uploading using custom sizes
- Bulk edit wordpress images alt and title attributes
- Upload Image Not accessible
- WordPress gallery ‘post_gallery’ filter doesn’t work with feeds?
- Caption in Page adding unwanted 10px to width
- Adjust image caption within visal editor
- How to add a media with PHP
- Responsive Images – Add srcset attributes to custom Images Function
- Get original image from thumbnail URL
- Bulk image rotation
- Can I the caption shortcode to set caption to a data attribute, and with the image’s alignment intact?
- get the image of the post
- Update image links in database
- ACF Image ID, echo the alt tag
- Pull Random Attachments With Pagination
- Upload media files to Amazon S3
- Out of memory error reporting
- How to get default image sizes attribute
- Remove the inline styling added in wp_get_attachment_image()
- Image not shown in the theme as it’s showing in HTML template [closed]
- Broken Images until Page Refresh
- Get image from parent category
- Images attached to posts from library link to 404 error page
- Images not displayed when moving site to local
- fetch images and videos
- Specific image size is being generated without being registered
- Should I not compress my jpeg files before uploading to avoid double compression?
- Generating a certain sized thumbnail on the fly?
- How do I get a post author’s image/avatar via RSS from another blog?
- How to display title of attached image in post?
- Getting thumbnail of uploaded image
- Allow users to contribute images to a post
- Save Image in wp_options-Table
- Image upload error?
- Is it possible to get feature image url (full-size) from an image url of smaller size?
- Image not showing using a custom function and get_post_meta
- Random home page background images with caption text
- How to add “alt” attribute for image during upload at WP front-end?
- get_item_quantity() Error When Fetching Feed
- Excluding post thumbnail from the attachment.php when using wordpress gallery
- Featured Image Thumbnail size on Twenty Ten Archive Page
- Widget Style – Icon Type
- WordPress Problems
- WordPress PHP custom function is causing 500 Internal Server Error Connection Timeout
- Post-processing of the image failed
- Get post thumbnail in specific size
- Text not wrapping properly around image in WordPress Visual Editor [closed]
- Broken images in media library
- Resize images to match CSS
- Featured image appears in header
- Preventing the image-post problem from ahead (edit: without redirects)
- How can I stop WP Image Editor upscaling from looking so pixellated?
- Declare global variable that can be used on other function
- How to show images uncropped after uploading?
- add_image_size() width not actually working
- Black and White Thumbnail in WordPress Gallery
- Saving a post, content filtering and user levels
- How can I define the RSS feed content length?
- How to extract specific image meta for all images?
- *box for images displayed as a post’s [gallery] [duplicate]
- wp_handle_upload Image sizes
- Profile Image displaying on Wrong side of WordPress Navigation Menu