Hello,
we bought the plugin today, mainly to redirect the non www to the www but every time we do so we get a loop or a 500 error.
Now the page autopot.nl is shown nicely
Hope you can help me out ;)
Thanks,
Mike
Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Latest post by nicholas on Sunday, 04 September 2022 11:45 CDT
Hello,
we bought the plugin today, mainly to redirect the non www to the www but every time we do so we get a loop or a 500 error.
Now the page autopot.nl is shown nicely
Hope you can help me out ;)
Thanks,
Mike
First of all let's clarify: if you turn off only this option and regenerate the .htaccess file does it work?
If not, stop reading, let me know. We will need to go through some other debugging first before circling back to what I am writing below.
Otherwise, check your site's configuration.php file. There's a $live_site line which probably reads something like that now:
public $live_site = 'https://autopot.nl';
This means that when you access the non-www domain (autopot.nl) the .htaccess file tells your browser to visit the www domain name (www.autopot.nl) BUT ALSO that as soon as you visit the www domain (www.autopot.nl) Joomla itself tells your browser to visit the non-www domain (autopot.nl), thereby creating an endless loop.
Change it to read
public $live_site = '';
Now you can use the non-www to www redirection since Joomla won't be trying to override what the .htaccess file does.
IMPORTANT CAVEAT: You have to completely quit your browser (including any tray icons, if you're using Windows) for your browser to see the new redirection settings: browsers cache redirections while they are still open.
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!
Easter vacation: We will be closed from 17 April 2025 16:00 UTC to 21 April 2025 06:00 UTC due to observing the Christian Easter holiday. Support will be closed during that time for both new tickets, and replies to existing tickets.
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!