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: Block Layout Accordion 1.0.2 Minor update available for module block_layout_accordion (1.0.2). Release: Canvas interactive toggle 1.0.2 Minor update available for module canvas_interactive_toggle (1.0.2). Release: Views HTTP Client 1.0.2 Minor update available for module views_http_client (1.0.2). Release: Block Layout Accordion 1.0.1 Minor update available for module block_layout_accordion (1.0.1). Release: Canvas interactive toggle 1.0.1 Minor update available for module canvas_interactive_toggle (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Public files URL replacer

26 sites Security covered Drupal 9–11
View on drupal.org

This module allows administrators to change the base URL for public files, which is particularly useful for development or staging environments when using a production database but not the production files. It replaces the local file URL with a configured external URL, with an option to only perform the replacement if the file doesn't exist locally.

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

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
5
Tracked since
Nov 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 5
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.2 Stable 9–11 Jun 3, 2025
1.0.1 Stable 9–11 May 8, 2025
1.0.0 Stable 9–11 Dec 5, 2024
1.0.0-rc1 Pre-release 9–11 Nov 20, 2024
1.0.x-dev Dev 9–11 Nov 20, 2024