• 20-05-2019, 01:44:57
    #1
    RewriteEngine On
    RewriteRule ^([a-zA-Z0-9-_/]+)$ index.php [QSA]

    arkadaşlar normal bu .httacces yazarken site sorunsuz bir şekilde çalışıyor fakat buna https yönlendirme yapınca sitemde index harici 404 veriyor.
    bunu sağlıklı bir şekilde nasıl yönlendirebilirim
  • 20-05-2019, 01:45:30
    #2
    wordpress mi kullanıyorsunuz?
  • 20-05-2019, 01:46:24
    #3
    yusuft adlı üyeden alıntı: mesajı görüntüle
    wordpress mi kullanıyorsunuz?
    php script.
  • 20-05-2019, 01:51:07
    #4
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

    Bu kodu .htaccess dosyasinin basina koydunuz mu ?
  • 20-05-2019, 01:51:55
    #5
    RewriteEngine On

    RewriteCond %{HTTP_HOST} !^www. [NC]
    RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    RewriteCond %{HTTP:X-Forwarded-Proto} !https
    RewriteCond %{HTTPS} off
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    RewriteRule ^([a-zA-Z0-9-_/]+)$ index.php [QSA]

    Bu şekilde deneye bilir misin ?
  • 20-05-2019, 02:06:07
    #6
    aevren adlı üyeden alıntı: mesajı görüntüle
    RewriteEngine On

    RewriteCond %{HTTP_HOST} !^www. [NC]
    RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    RewriteCond %{HTTP:X-Forwarded-Proto} !https
    RewriteCond %{HTTPS} off
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    RewriteRule ^([a-zA-Z0-9-_/]+)$ index.php [QSA]

    Bu şekilde deneye bilir misin ?
    suan denedim bekliyorum bir 10 dk bakalım değişcekmi



    abdlkrm adlı üyeden alıntı: mesajı görüntüle
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

    Bu kodu .htaccess dosyasinin basina koydunuz mu ?
    aevren adlı üyeden alıntı: mesajı görüntüle
    RewriteEngine On

    RewriteCond %{HTTP_HOST} !^www. [NC]
    RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    RewriteCond %{HTTP:X-Forwarded-Proto} !https
    RewriteCond %{HTTPS} off
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    RewriteRule ^([a-zA-Z0-9-_/]+)$ index.php [QSA]

    Bu şekilde deneye bilir misin ?
    okedoke adlı üyeden alıntı: mesajı görüntüle
    suan denedim bekliyorum bir 10 dk bakalım değişcekmi
    olmadı