Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Public files URL replacer

Security covered Under active development 152 sites

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

Drupal 9–11

Ask your assistant about Public files URL replacer

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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 PHP 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