Support

Admin Tools

#39960 redirect to non www not saved

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
441
PHP version
8125
Admin Tools version
744

Latest post by tampe125 on Monday, 11 December 2023 05:41 CST

hbproph

Hi Nicholas,

 

Can you please help us with this small issue?

 

We are working on SEO optimization and one of the point is to configure to always use non www format on our site.

We know that admin tools has an option for this especially designed to redirect www request to non www.

 

The problem is even we choose this and press save, its just not sawing the option, with page refresh we see always see non redirect in admin tools changing back.

 

Any tip please what is wrong here?

tampe125
Akeeba Staff

Hello,

please take a look at your configuration.php file. The variable $live_site should be empty. Admin Tools is not applying the change since you have a value in it, otherwise it will cause problems with your site.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

hbproph

Thanks for your help, yes you are right, there is something, can you please tell me how i should delete?

 

So this is what i have now =>  public $live_site = 'https://csakamainap.info';

 

So i have to change line this? => public $live_site = '';

or 

Like this? => public $live_site = 

or

Like this? => public $live_site

 

 

Thanks a lot for explaining this!

tampe125
Akeeba Staff

You should change it in this way:

public $live_site = '';

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

hbproph

Thank you so much for your help, its working immediately! :)

tampe125
Akeeba Staff

You're welcome!

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
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!