Htaccess changes after joomla4.0.4

From Joomla! Documentation

This page contains changes which are not marked for translation.
Other languages:
Deutsch • ‎English • ‎Nederlands

Due to a file name change.[edit]

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:[edit]

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?[edit]

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[edit]

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

If you need further help then It is an excellent place to find help and advice.