Support

Admin Tools

#39652 preconfigured Default htaccess file

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
4
PHP version
n/a
Admin Tools version
n/a

Latest post by myaviation on Wednesday, 18 October 2023 12:05 CDT

myaviation

Yes this is just for a suggestion - But it would be nice for ADMIN tools to have the default htaccess file - as an option to go back to.

As many times I have an issue with the one that has been generated then I have to go on the joomla site and find the Preconfigured htaccess file

https://docs.joomla.org/Preconfigured_htaccess/en

 

As for a good example is that a couple of weeks ago when the JOOMLA site was done due to ROCHEN beening down for 2 days - that simple button on Admin tools for the preconfigured htaccess would be amazing to have.

 

Again thanks for the great tools

 

Rick

nicholas
Akeeba Staff
Manager

First of all, you can achieve that by turning off all options in the .htaccess Maker and generating the .htaccess file. It reverts to the minimal default Joomla .htaccess.

As for a button, there's a reason I don't want to do that. The problem is that each Joomla version (even each patch release within the same minor release family) may have a slightly different recommended .htaccess file which yet again different than what you read in the (outdated) documentation page. I know that most of the differences are not major, and I know that what I give you as the minimal .htaccess does exactly what Joomla's file is supposed to do (let you use the SEF URLs), but sadly people don't believe in verifiable facts, they believe in voodoo — like, the contents of commented out lines (lines starting with a # sign) making a difference when the very definition of a comment is that it is skipped over without being parsed.

So, instead of making a feature which would get some people's knickers in a twist I opted for the simple solution: you wanna go back to Joomla's .htaccess file? Great! Last time you updated your site, Joomla! wrote an inert htaccess.txt file. Delete your current .htaccess file and copy the htaccess.txt file as .htaccess. Done! This instruction is already in our documentation.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

myaviation

Perfect thanks

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!