No Code Attached Yet
avatar lepathie
lepathie
23 Jun 2022

Steps to reproduce the issue

Update from Joomla! 3.10.9 to 3.10.10

Expected result

System should be working correctly and the .htaccess should not be altered in a bad way

Actual result

The website stops working. The .htaccess gets altered with new lines ending at "## End - Joomla! core SEF Section." the last line is now missing a line-break that forces the following line to be commented out. In our case the "RewriteCond %{HTTP_HOST} !^www." which lead to an unlimited amount of rewrites like www.www.www. .
See screenshot of .htaccess .screen shot 2022-06-23 at 16 14 33

System information (as much as possible)

Joomla 3.10.10

Additional comments

Parallel to Joomla! we updated 2 broadly used Plugins:

  • Akeeba Backup
  • JCH Optimize
avatar lepathie lepathie - open - 23 Jun 2022
avatar lepathie lepathie - change - 23 Jun 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 23 Jun 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Jun 2022
avatar brianteeman
brianteeman - comment - 23 Jun 2022

At no point in the update process does any existing .htaccess file get changed.

Whenever a change to the htaccess is recommended then this is done in the htaccess.txt file and a post installation message is published in the admin with details and instructions on how to MANUALLY make any change.

The last change to the htaccess.txt was over 4 months ago.

I can see from your screenshot that you are already modifying the .htaccess from the one supplied by Joomla. So whatever change is breaking your site it is not coming from Joomla itself.

avatar richard67 richard67 - close - 23 Jun 2022
avatar richard67 richard67 - change - 23 Jun 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-06-23 16:42:33
Closed_By richard67
avatar richard67
richard67 - comment - 23 Jun 2022

@brianteeman is absolutely right. Closing as not a core issue. If you need advice regarding your custom .htaccess file, please use the support forum.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38130.

avatar ReLater
ReLater - comment - 23 Jun 2022

Just BTW: JCH Optimize changes the .htaccess after any JCH installation and any JCH update. Even if you have disabled all JCH extensions.

avatar richard67
richard67 - comment - 23 Jun 2022

Just BTW: JCH Optimize changes the .htaccess after any JCH installation and any JCH update. Even if you have disabled all JCH extensions.

Interesting ... and good to know. Thanks @ReLater .

avatar lepathie
lepathie - comment - 24 Jun 2022

Thanks @brianteeman for clarification.

And thanks @ReLater for the information. Then probably there is what caused the problem.

Add a Comment

Login with GitHub to post a comment