How to integrate UCDN with Typo3?

2018-10-18 16:03

(*Disclaimer: Please be advised that the following instructions may have undergone some changes due to the third-party software and plugins updates.)

​If you are using the open source TYPO3 for your enterprise’s content management system, you care about performance. Touted as a flexible and scalable CMS for websites and mobile apps, combining TYPO3 with UCDN helps you further enhance the performance TYPO3 affords.

​​This tutorial will show you how to use the TYPO3 CMS bootstrap package to integrate UCDN into your TYPO3 content management system.

       1. Go to your Typo3 Login page and login.

       2. In Admin Tools, select "Extension manager". Then from the top dropdown menu, select "Get Extensions".

       3. In the search field, enter “Replace Content”, then press Enter. Once the search for the extension is done, click on the Import and Install
icon next to the version 2.0.4

       4. In your sidebar, select Template. After that select option “Info/Modify” from the top dropdown menu. Add the following code in the Constants field:

    config.tx_replacecontent {
    host =
    schema = http://

       5. Add the following code in the Setup field:

    config.tx_replacecontent {
        search {
            1 = #(src|href|data-src|data-small|data-large|data-medium)=("|')(/?)([^/]*/)?(typo3temp|fileadmin|uploads|typo3conf)/#
        replace {
            1 = $1=$2{$config.tx_replacecontent.schema}{$}/$4$5/

       6. Save the settings.

Please note the above code of extension Replace Content 2.0.4 successfully serve all static files through UCDN with CMS TYPO3 8.7.1.

Tags: Typo3