Support

Admin Tools

#32420 .htaccess Maker Unable to get www. to redirect to non www version of website

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 Monday, 03 February 2020 14:16 CST

webchick
Hello,

Great Joomla Admin tools, however I'm using the .htaccess maker and I'm unable to get any version of (http or https with www.) www.celestialarts.net to redirect to my actual website https://celestialarts.net.

I've got the 'Redirect www and non-www addresses' option set to 'Redirect www to non-www' but still to no avail!! I'm going round in circles. Please could you help! I know you said in the help and documentation that sometimes it can even be our browsers that are causing the issue. I've cleared all caches and tried in different browsers but still getting this message whenever I try to see if www will redirect properly!

Error Message:

The page isn’t redirecting properly
An error occurred during a connection to www.celestialarts.net.
This problem can sometimes be caused by disabling or refusing to accept cookies.

Thank you in advance :)

Paula

webchick

dlb
Paula,

Edit your configuration.php file in the root of your site. Look for $live_site. In almost all cases it should be an empty string, just two single quotes ''. Having the wrong URL there can cause what you're describing.


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)

webchick
Hi,

Thank you for getting back to me, this is what I've got in my confiv file

public $live_site = '';

Any other ideas? Thank you!

Paula

dlb
In .htaccess Maker, all the way at the bottom of the screen, there are two fields with URLs in them. Make sure you don't have www in them. My site doesn't seem to care, but that's the only other place I can think of that has URLs in it.

In Joomla!'s Global Config file, on the first tab, there is a field for Cookie Domain. That is normally blank.


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)

webchick
Hi Dale,

Thanks this is what I've got in that box at the moment please see new attachment :)

The cookie domain is blank :)

Thanks

Paula

webchick
It's ok Siteground my web host have figured it out. It felt like a higher up issue than I had access to and it was my Cloudflare settings! Doh!

Thanks for your help!

dlb
You're welcome! I'm glad you got it working.


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!