arkadaşlar selam,
.htaccess ile sitemi https yönlendirmesi yapmak istedim (ssl için) fakat .htaccess de denediğim tüm kodlar ile site yönlendirmesi yapamadık bende js ile
<script> if (location.protocol != 'https:')
{
location.href = 'https:' + window.location.href.substring(window.location.protocol.length);
} </script>
sitemi https ye yönlendirdim ssl tarafında herhangi bir güvenlik açığı doğurur mu bu sorun?
ssl i hosting firmamdan aldım yeşil kilit ikonu aktif durumda.
bu yönlendirmeyi yapmadan önce diğer tüm sayfalarda yeşil kilit vardı siteadi.com yazınca anasayfa hala http ile açılıyordu. bu kodu bu yüzden kullandım www.siteadi.com veya siteadi.com yazsamda http olarak bağlanıyordu siteye şuan bu kodu ekledim https olarak giriyor.
--R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 19:07:55 -->-> Daha önceki mesaj 19:03:45 --
dipnot:
.htaccess de ki hiçbir kodun çalışmama sebebini hosting firmama sordum yazılım desteği vermiyoruz dediler dilerseniz bir yazılımcıya başvurun dediler :S