Support

Admin Tools

#34356 .htaccess Maker open to redirect non-www to www 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 on Sunday, 14 February 2021 20:17 CST

slomas

Nicholas,

 

We want to redirect non-www traffic to www. I have this feature enabled in Admin Tools for other sites, but for some reason, the dropdown with the three options is grayed out on this particular site. I presume some other configuration option is locking it, but I can't determine what. Any thoughts?

 

Thanks, SL

PS: the subject should read, "... option to redirect..."

Steve Lomas | Idea Mechanic | MojoMediaPros

slomas

For the time being, I added the rule manually to the "Custom .htaccess rules" section in Admin Tools, which is working fine, so I guess I"m just curious to learn what was blocking the feature in <htaccess maker.

Steve Lomas | Idea Mechanic | MojoMediaPros

tampe125
Akeeba Staff

Hello,

can you please take a look at your configuration.php file. What's the value for the $live_site variable?

In 99% of cases it should be empty, I suspect in your case it has a value AND has the www prefix. Can you please double check that? Can you please try to remove the contents of such variable?

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!

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!