Htaccess changes after joomla4.0.4

From Joomla! Documentation

Due to a file name change.

This change had to be made. It affects a small number of people. We wanted to get the information out before the problem could arise to help those in the small group who might be affected. htaccess change infographic

Thanks to:

Thanks to Nicholas K. Dionysopoulos and all the people who worked on modernising the update process in Joomla!. Refactoring the code, removed over 50% make 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, be aware, that you have to make a small change to not block your next update. Here is an example of such a htaccess script.

If you don't make these changes then you will find your updates after J4.0.4 blocked, so 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 then 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.