Support

Admin Tools

#39742 redirect www to non-www does not save and does not work

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
4.2.5
PHP version
8.1.13
Admin Tools version
7.2.3

Latest post by nicholas on Thursday, 02 November 2023 07:28 CDT

sophia

Please look at the bottom of this page (under Support Policy Summary) for our support policy summary, containing important information regarding our working hours and our support policy. Thank you!

 

Hi there,

in admintool, I wanted to set the redirect from www to non-www, however after I clicked on save, it does not save. I changed other values they saved fine.

as a result, my www.domain.com does not redirect.

Please help.

 

thanks

Sophia

nicholas
Akeeba Staff
Manager

Check your configuration.php file, namely the $live_site line. It should be empty, i.e.

public $live_site = '';

If it's not empty, you cannot use the www to non-www redirection or vice versa, as it would create a redirection loop. In this case it's best to empty the $live_site line in your configuration.php file.

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!

sophia

Hi Nicholas, thank you.

I have update the $live_site = '';

The http://www.creativjoy.com can redirect to https://creativjoy.com successfully, however

https://www.creativjoy.com cannot redirect, it shows

 

This site can’t be reached

www.creativjoy.com took too long to respond.

 

Regards

Sophia

nicholas
Akeeba Staff
Manager

This is something you have to fix with your DNS entry. You need to have www.creativjoy.com as a CNAME record pointing back to creativjoy.com.

Remember: Admin Tools can only deal with what is going on with your server. It does not have control over DNS. That's completely separate and you have to make sure both the www and non-www domain resolves and is answered by the same account on the same server before you try to do a redirection from one to the other.

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!