• 07-12-2020, 22:33:28
    #1
    Merhaba arkadaşlar .htaccess'e;
    RewriteEngine OnRewriteCond %{HTTPS} !=onRewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    Kodunu ekledim https yönlensin diye fakat anasayfa dışında hiç bir sayfaya yönlenmiyor 404 veriyor nasıl çözerim
  • 07-12-2020, 22:42:23
    #2
    @KeskinBey; 404 hata ekranını ekler misin konuya?
  • 07-12-2020, 22:44:33
    #3
    @KeskinBey; Bir de bunu dener misin hocam.
    1. RewriteEngine On
    2. RewriteCond %{HTTP_HOST} ^yourdomain1.com [NC]
    3. RewriteCond %{HTTPS} off
    4. RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]