Sometimes the author of your component will provide a way to do such an override, so check the documentation first. If that is not possible, brute force works: I recently solved this problem for myself by inserting a rule at the top of my .htaccess file on the server. Most Apache servers will handle this correctly. The rule would look like this: Redirect 301 ...


The solution to the above problem is to comment out the last section of the .htaccess file (See https://github.com/joomla/joomla-cms/issues/32892 and https://github.com/joomla/joomla-cms/pull/33097 for more details). I faced this issue because my LiteSpeed-based hosting server was already gzipping css and js files, so there was no need to gzip them again.

Only top voted, non community-wiki answers of a minimum length are eligible