I'm having issues with redirecting non-www to www for a clients site which has SSL. I used the same settings as for my site but somehow it doesn't work for his site. I've looked into it for a couple of hours but just can't see why it doesn't work... I've generated the htaccess with your htaccessmaker and forced the entire site to use SSL with the global configuration options of Joomla.
1. With the setup described above I get an error that the page is being redirected incorrectly. I see in Firebug, it just keeps on looping with a 301 redirect till it gives up.
2. The .htaccess is active immediately so that's ok
3. If I enter the non-www variant, it redirects to http://www.site.ext, without SSL. Perhaps there are issues with the SSL part?
4. Cleared the browser cache and cookies (using FireFox just in case)
5. Index.php is being rewritten to / so mod_rewrite works fine I suppose (I don't see it in phpinfo() but neither do I see it for my site, only for localhost with apache2handler)
Before I'd bug you I asked the client to contact the host. This was their answer:
I think it's because the SSL only works with "site.ext" without www by default.
We recommend the URL https://site.ext/
However if it's important for you to have the URL https://www.site.ext, we can
change the certificate.
Joomla's "force ssl" option should work fine with our SSL system.
I don't think it makes sense, because without the redirect the site works for both https://site.ext and https://www.site.ext. Also when I redirect www to non-www with you htaccessmaker, nothing happens.
Joomla! version: (3.1.5)
PHP version: (5.3.27)
MySQL version: (unknown)
Webserver: Apache (cgi-fcgi)
Host: (unknown)
Admin Tools version: (2.5.6)
Do you have any idea? Thank you very much in advance.
Best regards,
Jurian