Support for SSL
jrivero opened this issue · 7 comments
The generated urls for the sitemap when the site is ssl not have https. The "force_ssl" setting has no effect.
+1
As a workaround you can modify line 75 of user/plugins/sitemap/sitemap.php with:
$entry->location = str_replace('http://', 'https://', $page->canonical());
HTTPS should be used if $_SERVER['HTTPS'] is true on the server. Enforcing https via htaccess (on Apache) should work: https://stackoverflow.com/questions/4398951/force-ssl-https-using-htaccess-and-mod-rewrite
Well my host use $_SERVER["HTTP_HTTPS"] instead of _SERVER["HTTPS"], I think it depends on the Apache version.
Oh, I read about it, that looks like an issue with Nginx. Are you using Nginx?
(related issue https://forge.typo3.org/issues/32341)
I use nginx and the set of HTTPS header to on has solutionated the problem. Thanks!
I see a workaround posted here, but is there word on an official fix?