Htaccess changes after joomla4.0.4: Difference between revisions

From Joomla! Documentation

No edit summary
Cmb (talk | contribs)
Several markup changes.
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Due to a file name change.==
<noinclude><languages /></noinclude>
This change had to be made. It affects a small group of people but we wanted to get the information out before the problem could arise to help those in the small group who might be affected.
==<translate><!--T:1--> Due to a file name change.</translate>==
[[File:139115817-f4042c30-a773-41e3-a335-9998f9050a8e.png|htaccess change infographic]]
<translate><!--T:2--> 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.</translate>
[[File:139115817-f4042c30-a773-41e3-a335-9998f9050a8e.png|<translate><!--T:3--> htaccess change infographic</translate>]]


==Thanks to:==
==<translate><!--T:4--> Thanks To:</translate>==
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.
<translate><!--T:5-->
Thanks to Brian Teeman for the infographic to help us understand it better.
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.</translate>


This is a great step forward in our approach to make Joomla! 4 slim and fast.
<translate><!--T:6--> This is a great step forward in our approach to make Joomla! 4 slim and fast.</translate>
==Does it affect you?==
==<translate><!--T:7--> Does It Affect You?</translate>==
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.
<translate><!--T:8--> 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.</translate>
Here is an example of such a [[Htaccess_examples_(security)|htaccess script]].
<translate><!--T:9--> Here is an example of such an [[Htaccess_examples_(security)|htaccess script]].</translate>


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.
<translate><!--T:10--> 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.</translate>
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:-
<translate><!--T:11--> 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:</translate>


==What to change==
==<translate><!--T:12--> What to Change</translate>==
<pre>
<pre>
RewriteRule ^administrator/components/com_joomlaupdate/restore\.php$ - [L]
RewriteRule ^administrator/components/com_joomlaupdate/restore\.php$ - [L]
 
</pre>
And make the required changes if you do come across it in your files.
And make the required changes if you do come across it in your files.
 
<pre>
## Joomla! Update (core feature) — Joomla versions 2.5.1 through 4.0.3
## Joomla! Update (core feature) — Joomla versions 2.5.1 through 4.0.3


Line 29: Line 31:
RewriteRule ^administrator\/components\/com_joomlaupdate\/extract\.php$ - [L]
RewriteRule ^administrator\/components\/com_joomlaupdate\/extract\.php$ - [L]
</pre>
</pre>
If you need more information https://github.com/joomla/joomla-cms/pull/35388
<translate><!--T:13--> If you need more information https://github.com/joomla/joomla-cms/pull/35388</translate>


If you need further help then https://forum.joomla.org/ It Is an excellent place to find help and advice.
<translate><!--T:14--> If you need further help then https://forum.joomla.org/ It is an excellent place to find help and advice.</translate>

Latest revision as of 22:08, 3 October 2022

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%, 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.