Support

Admin Tools

#42621 YOOtheme Pro 5.0 release: custom .htaccess rules for image cache

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
5.x, 6.x
PHP version
8.x
Admin Tools version
7.8.1

Latest post by forrestkirby on Tuesday, 13 January 2026 16:17 CST

forrestkirby

Hello Akeeba support and community,

YOOtheme just released version 5.0 of their page buider. Due to a refactoring of the image generation, an adjustment to the settings of the .htacess maker for users of Akeeba Admin Tools is necessary. If not applied, images might not display and the server might throw a 404 HTTP response.

There are two options to allow access to the media/yootheme/cache.

  1. remove the restriction to the whole media folder in the frontend directories where file type exceptions are allowed setting
  2. add a custom rule in the custom .htaccess rules at the top of the file setting with the following content
    RewriteCond %{REQUEST_URI} ^/MY_PATH/media/yootheme
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule .* index.php [L]
    Replace MY_PATH with your Joomla installation path.

Also see https://yootheme.com/support/question/171603#answer-562102

Kind regards
Thomas

nicholas
Akeeba Staff
Manager

The first option, as it is currently worded, is completely asinine. Removing the media directory from “Front-end directories where file type exceptions are allowed” WILL BREAK YOUR SITE as this means that all files under this directory –including Joomla's system JavaScript files– will become inaccessible (they will throw an HTTP 403 Forbidden error). I would really like you to ask them to revise their wording. They probably meant to say that the media directory MUST be present in the “Front-end directories where file type exceptions are allowed” which is the default anyway as doing otherwise would break the site anyway.

The custom .htaccess code they provide seems to be fairly fine. If a media file is not found under media/youtheme they have the request be served by Joomla. Either their plugin will handle this request, or Joomla itself will throw a 404 Not Found error if for any reason this does not happen (e.g. you disable their plugin). From a security point of view, that's fine; no harm is done.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

forrestkirby

Hi Nicholas,

thank you very much for you prompt reply and the detailed information. I forwarded this to YOOtheme.

Best regards
Thomas

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!