Skip to main content


Hello,

editors are able to create redirects for any kind of URL in the TYPO3 redirect module. I know the path segment for the TYPO3 fileadmin can be renamed but for simplicity lets assume it’s the default ‘/fileadmin/’. Unfortunately redirects do not work for URLs starting with ‘/fileadmin/’ because TYPO3 is not responsible by the default .htaccess configuration. This is the default behaviour because the webserver should take care of the file management and show it’s 404 page if a file does not exist:
<pre><code class="lang-auto"># Stop rewrite processing, if we are in any other known directory
# NOTE: Add your additional local storages here
RewriteRule ^(?:fileadmin/|typo3conf/|typo3temp/|uploads/) -
[L]</code></pre>
My questions:

  • Should we remove fileadmin in this RewriteRule? I put forward that a bad regex rule could break the whole requests for all files.
  • Should we at least add an TYPO3 message in the backend that this redirects are not working?

What do you think?

Best regards

1 post - 1 participant