TYPO3 realURL Autoconf for manual tuning

I have a TYPO3 website that has been working with auturonf realURLs for many years.

The template is very simple: Domain / language / pid e.g. example.com/d/6

Now I need to add an addition to the realURL configuration, but I'm not sure how to reproduce the setting using autoconf in the configuration file manually (we do not want to change the URLs)

How is this done? I tried to output the serialized autoconf values ​​via var_export (), but did not work.

Or: how to create the URL pattern above in the realurl_conf file?

Thanks! Urs

+4
source share
1 answer

It is pretty simple:

  • In Extension Manager ( EM ), find RealURL and set the Automatic configuration file format option to PHP source (slow!) (With automatic conf still on !)
  • Delete the typo3conf/realurl_autoconf.php (as far as I remember), clear all caches and refresh the main page, the autoconf file will be recreated in an uncertified version.
  • Rename the file to typo3conf/realurl_conf.php , select EM again and clear the automatic configuration checkbox.

After clearing the caches, you will switch to the manual configuration created from automatic.

+13
source

Source: https://habr.com/ru/post/1482517/


All Articles