Support

Admin Tools

#32990 Redirect www and non-www addresses (Selection Unavailable)

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 dlb on Wednesday, 06 May 2020 20:51 CDT

ryancdavis
Hello,

Recently, I have noticed that I am not able to select the .htaccess maker configuration option "Redirect www and non-www addresses." It is completely greyed out and will not let me change it. Currently, it is set to "Do not redirect," which is not what I need. I need to redirect non-www to www. Is there a reason that this configuration option is not available?

I uninstalled Admin Tools and re-installed it, put the default Joomla configuration file in place - but the issue is still there.

Can you look into this for me and let me know as soon as possible? Thank you for the help.

ryancdavis
In the meantime, I've added this to the top of my .htaccess file via the Admin Tools interface to correct the issue. It seems to be working, but I would like to know why this options is not available. Please let me know. Thank you.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]

dlb
Edit your configuration.php file in the root of your site. Make $live_site an empty string, you don't need it. The information there is overriding .htaccess Maker and turning off the option.


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)

ryancdavis
Thanks you, Dale. That worked perfect! Thanks for the prompt help. Keep up the great work at Akeeba!

dlb
You're welcome!


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)

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!