How to link to files in Drupal by using the relative path?
The easiest way to resolve this issue is with the module named “Pathologic”. You can review and download this module from the following link:
Pathologic will resolve the issue of broken links from your website in case you have moved your website to a different server or URL. This module is also helpful if you have missing images and broken links in your site’s RSS feeds.