Support

Admin Tools

#35634 Clarification with Allowed domains parameter

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
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by toonetcreation on Sunday, 15 August 2021 14:47 CDT

toonetcreation

Hi,

Just a small question regarding the Allowed domains parameter.

For instance, If my site www.toto.com is a classic website, I just need to add www.toto.com or toto.com in this field?

Thanks

L.

nicholas
Akeeba Staff
Manager

You can add either. If you add example.com in the list then BOTH example.com and www.example.com are allowed. If you add www.example.com in the list then BOTH example.com and www.example.com are allowed. I know I have put that in the documentation, please read it :)

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!

toonetcreation

Yes or course, I have found this section in tour documentation 😉

My question was just to be sure this is enought to do that for allowed domains.

nicholas
Akeeba Staff
Manager

Well, yes. The documentation for allowed domains only applies for allowed domains. So it doesn't matter if you use www or non-www version of the domain, BOTH will be allowed automatically.

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!

toonetcreation

ok thank you ;-)

and works also for sub domains?

nicholas
Akeeba Staff
Manager

No. Subdomains would have to be explicitly stated. However, this would only make sense if the subdomains are served by the same Joomla installation as the one where Admin Tools is installed.

For example, if you are serving example.com, www.example.com, foo.example.com and bar.example.com from the same Joomla installation you would need to enter:

example.com, foo.example.com, bar.example.com

This is an extremely rare use case, though. The only practical use cases I have seen is using a third party plugin to have per-language subdomains or domains (e.g. fr.example.com or example.com.fr showing the same site as example.com/fr, the latter being the canonical URL generated by Joomla's language switcher system plugin); or showing a different menu as the root menu for each subdomain / domain using a third party plugin (effectively acting the same as WordPress' multisite feature; yes, these plugins have existed since Joomla 1.0, before WordPress implemented multisite!). These rare use cases are the reason you are allowed to enter more than one domain or subdomain names in this field.

If each subdomain is served by its own Joomla installation you MUST NOT add the subdomains in the main site's Admin Tools configuration. You should only add each subdomain to the Admin Tools configuration installed in the respective subdomain's Joomla installation.

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!

toonetcreation

that's clear for me, many thanks ;-)

have a good evening.
L.

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!