Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Latest post by nicholas on Sunday, 20 September 2026 08:27 CDT
Whether Admin Tools can automatically regenerate or restore .htaccess without manually using .htaccess Maker
No, it cannot do that. You would've had to go out of your way to set up an automation using Joomla CLI and the admintools:htmaker:make command provided by Admin Tools.
Whether PHP handler directives added by the hosting control panel should be added to the Custom .htaccess rules section in .htaccess Maker
Yes, absolutely! It's explicitly documented as such. See “Changing the PHP version and the .htaccess Maker” in the linked documentation page.
Now, in your particular use case, you need to figure out if the .htaccess file is being created by Admin Tools (meaning there's a rogue CRON job somewhere), or not. Here's an easy way.
Go to the .htaccess Maker. Find the “Custom .htaccess rules at the top of the file” and add the following content:
### Supercalifragilisticexpialidocious -- troubleshoot issue 43347
Save, but DO NOT create a .htaccess file just yet. Use the “Save without creating .htaccess” button in the toolbar; click the down arrow in the standard save button and you'll see that option.
What we added is a simple comment. It has no function. It merely acts as a trace maker.
When the issue repeats itself, open your .htaccess file and check it first 20 or so lines. Does the marker line exist? If it does, the file was created through Admin Tools. If not, well, Admin Tools wasn't involved.
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!
The Order/Deny line pair is the standard way to tell Apache to fully disallow web access to a specific directory. This is necessary defense. Removing it makes your site less secure.
The RewriteEngine/RewriteBase/RewriteCond/RewriteRule stanza is how SEF URLs (Joomla) / permalinks (WordPress) are implemented. Disabling it breaks the site. If anything, going back to non-SEF URLs is in itself a mild security issue.
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!
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!