Htaccess changes after joomla4.0.4
From Joomla! Documentation
Due to a file name change.
Thanks to Nicholas K. Dionysopoulos and all the people who worked on modernising the update process in Joomla!. Refactoring the code, removed over 50%, made it more stable and logical which will result in making it more maintainable. Thanks to Brian Teeman for the infographic to help us understand it better.
This is a great step forward in our approach to make Joomla! 4 slim and fast.
Does It Affect You?
If you're using the hardened .htaccess version from the Joomla! documentation or those used in other .htaccess examples, beware that you have to make a small change to not block your next update. Here is an example of such an htaccess script.
If you don't make these changes you will find your updates after J4.0.4 blocked. It is vital that you act and make this change. If you have never used any of these more advanced .htaccess files and only use the core file, this does not apply to you but it's worth looking through your .htaccess file for the line with:
What to Change
RewriteRule ^administrator/components/com_joomlaupdate/restore\.php$ - [L]
And make the required changes if you do come across it in your files.
## Joomla! Update (core feature) — Joomla versions 2.5.1 through 4.0.3 RewriteRule ^administrator\/components\/com_joomlaupdate\/restore\.php$ - [L] ## Joomla! Update (core feature) — Joomla versions 4.0.4 and later RewriteRule ^administrator\/components\/com_joomlaupdate\/extract\.php$ - [L]
If you need more information https://github.com/joomla/joomla-cms/pull/35388
If you need further help then https://forum.joomla.org/ It is an excellent place to find help and advice.