Support

Admin Tools

#43555 Getting Bad Request

Posted in ‘Admin Tools for Joomla!’
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
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by moira on Friday, 27 November 2026 03:48 CST

atolli

Hello, i got this situation that i do not know how to recover from. I do not have the url in production of my new host and had forgotten to include url above in allowable domains and i cannot do a thing. so is there a way in a file or db to adjust these domains?

Most appreciated

moira

You can recover from this, and you don't need to edit anything in the database. Renaming one file temporarily disables Admin Tools, so you can get back into your site's administrator backend and fix the list there.

From your description, you are seeing a "Bad Request" page saying that the domain you are using is not allowed. This comes from the Allowed Domains feature of Admin Tools.

  1. Using FTP, SFTP or your host's File Manager, go to the plugins/system/admintools/services directory of your site.
  2. Rename the file provider.php to provider-disable.php.
  3. Log into your site's administrator backend.
  4. Go to Components, Admin Tools, Web Application Firewall, Configure WAF, and click on the Request Filtering tab.
  5. In the Allowed domains option, make sure both of these are listed:
    • the domain name you are currently using to access the site on your new host (the last paragraph of the error page asks you to "add the domain name … to the list"; that is the one); and
    • your production domain, westfriesetollen.nl, so that you don't get locked out again when you use it with the new host.
  6. Click on Save.
  7. Rename provider-disable.php back to provider.php, then check that you can still access your site.

Important: your site is not protected by Admin Tools' Web Application Firewall while the file is renamed. Please rename it back as soon as you have fixed the list.

Some notes about the Allowed domains option:

  • Enter only domain names, without http:// or https://, and without a trailing slash or path.
  • You don't need to add both the www. and non-www. forms of a domain; Admin Tools accepts both automatically.
  • If you'd rather not use this feature while you are moving your site, you can remove all domain names from the list, which disables it.

Since you are moving to a new host, please also check the $live_site line in your site's configuration.php file. It should normally be empty (public $live_site = '';), and in any case it should not point to an old or temporary address.

You can find these instructions in our documentation, under "Using FTP to regain access to your site's administrator" and "Allowed Domains (HTTP 421 Misdirected Request)": https://www.akeeba.com/documentation/admin-tools-joomla/atwafissues.html

Moira Fari

Support Specialist

🇬🇧English: native 🕐 My time zone is Asia / Nicosia
Kindly note that my replies are fully vetted by our developers.

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!