Drupal is a registered trademark of Dries Buytaert

The Public files URL replacer allows site administrator to change the base url of public files.

It is especially useful for development or test environments when importing a production environment database and you don“t want to import the public files folder.

Features

This module overrides the "file_url_generator" service and replaces the local base url for the one you configure (ex: production site URL)

It has also a option to check if the local file exists, and only does the url replace when it doesn't exist locally

From
To

Installation

Configuration

Go to "/admin/config/files_url_replacer"

Credits

Powered by Javali

Activity

Total releases
3
First release
Dec 2024
Latest release
8 months ago
Release cadence
90 days
Stability
100% stable

Release Timeline

Releases

Version Type Release date
1.0.2 Stable Jun 3, 2025
1.0.1 Stable May 8, 2025
1.0.0 Stable Dec 5, 2024