Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Facets 3.0.6 Minor update available for module facets (3.0.6). Release: Facets 3.0.5 Minor update available for module facets (3.0.5). Release: Flag 5.1.0 Minor update available for module flag (5.1.0). Release: Random Name 1.2.3 Minor update available for module random_name_chooser (1.2.3). Release: Text with summary 1.0.0 Initial release available for module text_with_summary (1.0.0)! Release: Ágora Transparency Theme 1.0.7 Minor update available for theme agora_theme (1.0.7). Release: Automated Revision Log 1.1.3 Minor update available for module ai_revision_log (1.1.3). Release: Views HTTP Client 1.0.4 Minor update available for module views_http_client (1.0.4). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Module Revived: ЮKassa (YooMoney) для Drupal v7 2.6.1 Module yoomoney_api updated after 7 months of inactivity (2.6.1).

Migrated content keeps pointing at the site it came from. Images and documents still load from an old domain. File Link Remap fixes that during the import, so the rewrite is reapplied every run instead of being overwritten by the next one.

How to use it

  1. Enable File Link Remap: Feeds Tamper.
  2. Go to Structure › Feeds › [feed type] › Tamper and add "Import linked files from source site" to your HTML source (body, field_corpo, …).
  3. Set Allowed source domains, e.g. example.com. Nothing outside this list is fetched.
  4. Set Source base URL, e.g. https://www.example.com — migrated markup usually carries relative paths, and without a base there is nothing to resolve them against.
  5. Put the plugin last in the chain for that source. Anything running after it will operate on the local URLs it has just written.

On import it rewrites the src on images and the href on file links, and adds the data-entity-type and data-entity-uuid attributes, so core tracks file usage and re-resolves image src on render. Nothing else in the markup is touched.

Files already downloaded are reused, not fetched again. A URL that cannot be fetched is left as it is, counted and logged, an import is never failed over one missing image.

drush file-link-remap:scan reports what still points at the old site; --fail-over=N turns it into a build gate.

Requirements

Drupal 10.5+ or 11, Tamper, Feeds Tamper.

Security

The module makes server-side HTTP requests, so it stays disabled until you list allowed source domains. It refuses private, reserved, loopback and cloud-metadata addresses (including IPv4-in-IPv6 forms), re-validates every redirect hop, and pins the connection to the validated IP.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Sep 2026
Latest release
3 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.0-beta1 Pre-release 10–11 Sep 1, 2026