Advertisement

Post installation instructions - htaccess Update Brotli

Need help installing Joomla! 5.x? For all Joomla! 5.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
GuyDlP
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Jan 08, 2020 8:30 am

Post installation instructions - htaccess Update Brotli

Post by GuyDlP » Fri Apr 19, 2024 1:42 pm

Apparently there is an error in the "Post installation instructions - htaccess Update Brotli compression"
Joomla 4 & 5
I find:
.htaccess Update Brotli Compressie
Sinds versie 5.1.0
Voor 5.1.0 ondersteunde de standaard htaccess.txt geen Brotli compressie. Dit kan resulteren in dubbele compressiefouten wanneer Joomla is geïnstalleerd op een server die gebruik maakt van Brotli compressie. Er moeten handmatig de benodigde wijzigingen toegepast worden op een bestaand .htaccess bestand, omdat dit bestand niet automatisch kan worden bijgewerkt.
De oude code:
RewriteRule "\. ss\.gz$" "-" [T=text/css,E=no-gzip:1]
RewriteRule "\.js\.gz$" "-" [T=text/javascript,E=no-gzip:1]
De nieuwe code:
RewriteRule "\. ss\.gz$" "-" [T=text/css,E=no-gzip:1,E=no-brotli:1]
RewriteRule "\.js\.gz$" "-" [T=text/javascript,E=no-gzip:1,E=no-brotli:1]

Apparently there is an error in the text.
Should be "RewriteRule "\.css\" instead of RewriteRule "\. ss\

Kind regards,
Guy

Advertisement
User avatar
JAVesey
Joomla! Hero
Joomla! Hero
Posts: 2701
Joined: Tue May 14, 2013 1:21 pm
Location: Cardiff, Wales, UK
Contact:

Re: Post installation instructions - htaccess Update Brotli

Post by JAVesey » Sat Apr 20, 2024 9:44 am

My .htaccess is okay, but I updated my existing .htaccess by copy/paste from the Post-Installation Notice.

I’ve checked the htaccess.txt that comes with the upgrade package and that is okay too. I’m therefore not sure of the source of your error. Can you advise?
John V
Cardiff, Wales, UK
Joomla 5.1.4 "live" site on PHP 8.3.2 and MariaDB 10.11.8 (with b/c plugin enabled)
Joomla 5.1.4 on MAMP Pro 7.0.7 with PHP 8.3.8 and MySQL 8.0.35 (with b/c plugin enabled)

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12813
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Post installation instructions - htaccess Update Brotli

Post by brian » Sat Apr 20, 2024 2:32 pm

This is a bug in the dutch translation
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

GuyDlP
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Jan 08, 2020 8:30 am

Re: Post installation instructions - htaccess Update Brotli

Post by GuyDlP » Mon Apr 22, 2024 1:30 pm

Indeed Brian

ElDa
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Aug 03, 2022 2:02 pm

Re: Post installation instructions - htaccess Update Brotli

Post by ElDa » Wed Sep 11, 2024 12:32 pm

Dear sir, I have got this message too.

Can you tell me where I have to write this new code? or what I have to do about it?
Is the text 'de nieuwe code' good as it is, or do I have to change the .ss in .css?
Can this be the reason why Google crawl as a 'Google smartphone inspection tool' says: "failed: redirect error" ?
Google won't index my pages... I am desperate! https://www.u-stoc.be


De oude code:
RewriteRule "\. ss\.gz$" "-" [T=text/css,E=no-gzip:1]
RewriteRule "\.js\.gz$" "-" [T=text/javascript,E=no-gzip:1]

De nieuwe code:

RewriteRule "\. ss\.gz$" "-" [T=text/css,E=no-gzip:1,E=no-brotli:1]
RewriteRule "\.js\.gz$" "-" [T=text/javascript,E=no-gzip:1,E=no-brotli:1]

Mr. Wimpy
Joomla! Guru
Joomla! Guru
Posts: 553
Joined: Fri Dec 02, 2005 10:46 am
Location: The Netherlands

Re: Post installation instructions - htaccess Update Brotli

Post by Mr. Wimpy » Fri Sep 13, 2024 4:02 pm

Yes, . ss is a typo in the Dutch language file and should be .css.

The changes need to be done in the htaccess file.

Have you made changes to the htaccess file before?
If not you could rename htaccess.txt to .htaccess . Note the .(dot) in front of htaccess.
Rename the old .htaccess file to i.e. .htaccess-old, just in case.

If you recently updated Joomla then htaccess.txt already has the update implemented.

Advertisement

Post Reply

Return to “Installation Joomla! 5.x”