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
- Images in an RSS feed
- Open Graph to RSS Feed
- Redirect Causes Missing Images
- How to make Facebook share the featuterd image from url on WordPress
- Set WordPress to Create different images format later, not during upload
- Background image call problem
- WordPress Is Saving Original Image Only
- Images in plugin broken after URL migration
- 403 Forbidden when accessing image in wordpress
- Gallery Images could not be shown
- Display images from JS?
- Changing current post image uls with a function
- If file exists with page slug name show image else nothing
- SVG files and wordpress
- Display images in template file
- Different image margins on different pages CSS [closed]
- Small image resizing for big! Alternative to timthumb
- Password-protect feed and make it usable in major aggregators
- Issue uploading images
- set specific dimension or minimum upload size [duplicate]
- How do i replace the title attribute of img tag with the image caption
- all images of past post messed up after changing theme
- Need help making my homepage blog image smaller than my post image
- Duplicate images in wordpress
- How can I set different banner images using background cover at different breakpoints?
- Adding a second RSS feed
- Select image and display from textfield?
- Get custom size of thumbnails
- image_send_to_editor filter – Unwanted paragraphs and line breaks
- After I upload a file to library its name converted to dashes
- variable crop option with add_image_size()
- Image to only show up in the single post page, not on the blog/home page
- Edit image itself
- Url link to feature image in the portfolio [closed]
- Custom WordPress Theme – No Slider(s) Images
- Get attachment images does not return any attached images
- How can I hook and edit on the fly an image uploaded
- Get image from one page and show/add it on another page
- How to show images uncropped after uploading?
- Anomaly with response coming from XML RPC Api get Post (integer out of range)
- Featured image on page set as “Posts page” in Settings > Reading
- problem with updating metabox of upload image
- Delete images of a particular size
- How Do I Auto Generate Thumbnail from First Embedded Image?
- Change Featured Image Size of the Post
- How to have a specific image show up for everyone who comments?
- Why doesn’t WordPress make thumbnails for videos?
- How might one programmatically set the link for all images in all posts?
- Specify which image sizes are created on a per image basis
- Reduce Mobile Image upload size (wordpress)
- For what does WP generate Thumbnails?
- Gallery with shortcode not showing
- Assigning image to Post-Type won’t work anymore: exceeded time?
- Images are not shown
- My feature images are showing up twice on the preview page
- What is the Best way to post each pictures uploaded separately and automatically?
- Show WordPress Image Title Under Custom Portfolio Image
- Show custom image size smaller in editor
- Create slider option in editor
- How can I use images that are on the server locally?
- Image filter works on attachement pages but not posts. I can’t get the image ID
- add titles to images in ad media in pages and posts