Public files URL replacer
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
FromTo
Installation
Configuration
Go to "/admin/config/files_url_replacer"
Credits
Powered by Javali