Support

Admin Tools

#42388 Admin secret URL parameter not working behind load balancer

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
5.3.3
PHP version
8.3.26
Admin Tools version
7.8.3

Latest post by nicholas on Wednesday, 29 October 2025 02:55 CDT

Ludwig von Mises

Hello, I recently put my site behind a AWS Application Load Balancer and noticed that the secret admin URL parameter is no longer working. I can directly access the /administrator/ folder without having to append the parameter on the end. Is this normal for setups behind a load balancer? BTW yes, my Joomla config has "Behind Load Balancer" activated.

I did activate the protect admin with password feature as you suggest. I was just wondering what could be wrong with the secret parameter. Thanks!

Also, I can't figure out how to use the search function in your support section. It only allows me to toggle among ticket status'. I can't find where to actually enter text to search for (I would like to search all the tickets for "load balancer".

nicholas
Akeeba Staff
Manager

Please read the information under "Browser cookie override for the administrator secret URL parameter" in https://www.akeeba.com/documentation/admin-tools-joomla/waf-configure.html#waf-configure-basic-protection. Since you've already used the secret URL parameter once, there's a cookie in your browser which "remembers" you did that, allowing you to continue even though you did not enter it again. If you want to try whether this feature works use Private / Incognito mode in your browser, ideally from a device with a different Internet connection – a mobile phone or tablet on a cellular connection would be the simplest way.

Regarding our site, the search is at the top right of the page. The little magnifying glass icon. It takes you to DuckDuckGo with a preset query to search our site. Append your own query to it and hit that search button. As to why I chose to implement it like that: Joomla's Smart Search is incredibly slow, it uses up a monumental amount of database space, it gobbles up CPU and memory like kids do candy the day after Halloween, and it returns far worse results than any search engine I tried. 

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!

Ludwig von Mises

Nicholas, I nearly always use a private session in Brave browser when I am working on the site. It's not the cookie. I can directly access the /administrator URL even though I have the secret parameter activated. I also have admin IP restriction activated: that works. The 404 shield for WordPress admin and other security measures are working. It's not a big deal. I actually prefer the extra login for admin, and by me blocking admin by IP I think it is pretty safe. I was just wondering if this is a known issue with load balancers or just something with my setup. I would be happy to help debug if necessary.

Another thing that is not working is the custom meta content generator tag. I have it set to be the name of my website and it used to work (overriding the Joomla tag). Now there is no generator tag at all (which is fine by me). Granted, I haven't checked this in ages, so maybe it stopped working before my switch to the load balancer.

Thanks for your products. I have been a loyal subscriber for about 15 years now, and recently purged my site of many 3rd party extensions. Akeeba Backup/Admin Tools, JReviews, and a couple Regular Labs extensions are all that are left on my site because they are useful and worth the money.

nicholas
Akeeba Staff
Manager

The secret URL parameter feature itself depends only on cookies. This feature sets a session flag, and optionally a cookie. The session depends on a cookie set by Joomla. So, the dependency is Joomla's session cookie, and the optional cookie set by Admin Tools itself. These cookies are unset every time you run the Private Browsing mode.

However, if you whitelist any IP on your site then every time you access your site for a whitelisted IP address ever security feature, including the secret URL parameter, will not apply.

That's why I asked you to use Private Browsing "ideally from a device with a different Internet connection – a mobile phone or tablet on a cellular connection would be the simplest way". You see why I am using this specific phrasing? Using the Private Browsing mode deals with the cookies. Using a different Internet connection deals with whitelisted IP addresses. 

The latter seems to be the case:

I also have admin IP restriction activated: that works

When you try to access your site's administrator from an IP added to the Administrator Exclusive Allow IP List no security measures are applied against you, including of course the secret URL parameter. As per the documentation:

IPs added to the Administrator Exclusive Allow IP List are fully vetted as far as Admin Tools is concerned. This means that no security measure will be applied against them. Please place only very well trusted IPs in this list! If an attack is launched from this IP, it will not be blocked by Admin Tools!

Mystery solved!

Another thing that is not working is the custom meta content generator tag. I have it set to be the name of my website and it used to work (overriding the Joomla tag). Now there is no generator tag at all (which is fine by me). Granted, I haven't checked this in ages, so maybe it stopped working before my switch to the load balancer.

Admin Tools tells Joomla that the generator meta tag content should be whatever you typed. Whether a meta generator tag is output at all depends on your site's template.

Also note that other plugins on your site may choose to change or remove the generator meta tag.

The load balancer –whose only job is to route requests to two or more internal servers to equalise, nay, balance the server load on them– has absolutely nothing at all to do with your site's output.

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!

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!