Support

Admin Tools

#33531 Redirect www and non-www addresses - DISABLED

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 on Monday, 14 September 2020 17:17 CDT

bobpit

Hi

I just upgraded the website (from my development version to my production version). And I just noticed that (in both production and development) the following option of the htaccessmaker is disabled:

Could you tell me what is wrong?  I am pretty sure it was working properly in the past, though I do not know when this feature broke.

 

In short, the site now goes to https://www.site.com.  I do not want this.  I want it to always redirect to https://site.com.

 

dlb

That is a new feature in Admin Tools.  When you have a value set in $live_site in configuration.php, it disables the www/non-www redirection in .htaccess Maker.



Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

bobpit

When you have a value set in $live_site in configuration.php

 

How do I remove this value?  Is it from Joomla config or from Admin Tools Pro?    And would it be wise to blank it out?

dlb

The only way to change that is to edit configuration.php directly.  It should be an empty string, just two quote marks.

The only time you need a value there is when your server reports an incorrect value for the address.  I haven't seen one of them in years.



Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!