Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Latest post by belex24 on Thursday, 23 July 2026 00:34 CDT
We looked into the crash you attached. The error, COM_ADMINTOOLS_ERR_INVALID_RESTRICTIP, happens because Admin Tools' .htaccess Maker offers "Sucuri" as one of the sources for the "Restrict access by IP" option. When you selected it, Admin Tools tried to fetch Sucuri's currently published IP ranges from their documentation page in real time. In your case that fetch did not return any usable data, and instead of failing gracefully, Admin Tools threw an unhandled error and wrote out a broken .htaccess file, which is what locked you out. There is also a labelling bug in the same code path that made the error message show a raw, untranslated code instead of a readable sentence, which is why the message you saw made little sense.
We have fixed this in our development branch:
.htaccess; it now shows a proper warning and leaves your existing configuration untouched.This fix is included in today's developer's release, which you're welcome to test:
Please note this is a developer's release, not an official version, so it will not appear in your site's automated update checks and should only be installed manually for testing. Before you try the "Sucuri" option again, please take a fresh backup of your current .htaccess file (Admin Tools does keep automatic backups of the previous file in .htaccess Maker, but a manual copy is a good extra safeguard). If the option still doesn't work as expected, or if you'd rather not experiment with it right now, you can safely leave "Restrict access by IP" set to "None" — the rest of Admin Tools' protection features are unaffected by this issue.
Let us know how the test goes.
Moira Fari
Support Specialist
🇬🇧English: native 🕐 My time zone is Asia / Nicosia
Kindly note that my replies are fully vetted by our developers.
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!