- Katılım
- 10 Mar 2018
- Mesajlar
- 200
- Tepkime puanı
- 0
- Puanları
- 0
slm arkadaşlar. sitem için güvenlik sertifikası aldım ve kurdum. ziyaretçilerimin http yerine https olarak sitede dolaşmasını ve google'ında https olarak siteyi indexlemesini istiyorum. pleskten www. ile açılmasını sağladım.
asp sitem için web.config dosyası ile de http'den https'ye yönlendirmeye çalıştım ama olmadı webconfig dosyamda hata mı yaptım bilmiyorum.
Ayrıca:
Web.Config Dosyası:
asp sitem için web.config dosyası ile de http'den https'ye yönlendirmeye çalıştım ama olmadı webconfig dosyamda hata mı yaptım bilmiyorum.
Ayrıca:
Ziyaretçiler için gizlenmiş link,görmek için
Giriş yap veya üye ol.
yazdığımda direkt
Ziyaretçiler için gizlenmiş link,görmek için
Giriş yap veya üye ol.
yönlendiriyor ancak siteadi.com yazdığımda www.siteadi.com'a yönlendirmiyor. lütfen yardım..Web.Config Dosyası:
Kod:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="HTTP to HTTPS redirect" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" redirectType="Permanent" url="https://{HTTP_HOST}/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>