• 06-04-2021, 17:59:05
    #1
    Üyeliği durduruldu
    #php_value default_charset utf-8

    RewriteEngine on

    RewriteCond %{HTTP_HOST} ^www.(.*) [NC]
    RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

    Options +FollowSymlinks

    RewriteCond %{REQUEST_FILENAME} !-d
    #RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_URI} !^/assets/
    RewriteRule .* index.php [L,QSA]




    <ifModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault "access plus 5 seconds"
    ExpiresByType text/html "access plus 10 seconds"
    ExpiresByType image/jpg "access 1 month"
    ExpiresByType image/gif "access 1 month"
    ExpiresByType image/jpeg "access 1 month"
    ExpiresByType image/png "access 1 month"
    ExpiresByType text/css "access 1 month"
    ExpiresByType application/x-javascript "access plus 1 month"
    ExpiresByType text/javascript "access plus 1 month"
    ExpiresByType application/javascript "access plus 2 week"
    ExpiresByType image/x-icon "access plus 2 month"
    ExpiresByType image/icon "access plus 2 month"
    ExpiresByType application/x-ico "access plus 2 month"
    ExpiresByType application/ico "access plus 2 month"
    </ifModule>

    SİTE GİRİŞ YAPMIYOR 500 HATASI VERİYOR NE SIKINTI YAPIYOR OLABİLİR.
  • 06-04-2021, 18:00:27
    #2
    evrimteknoloji adlı üyeden alıntı: mesajı görüntüle
    #php_value default_charset utf-8

    RewriteEngine on

    RewriteCond %{HTTP_HOST} ^www.(.*) [NC]
    RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

    Options +FollowSymlinks

    RewriteCond %{REQUEST_FILENAME} !-d
    #RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_URI} !^/assets/
    RewriteRule .* index.php [L,QSA]




    <ifModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault "access plus 5 seconds"
    ExpiresByType text/html "access plus 10 seconds"
    ExpiresByType image/jpg "access 1 month"
    ExpiresByType image/gif "access 1 month"
    ExpiresByType image/jpeg "access 1 month"
    ExpiresByType image/png "access 1 month"
    ExpiresByType text/css "access 1 month"
    ExpiresByType application/x-javascript "access plus 1 month"
    ExpiresByType text/javascript "access plus 1 month"
    ExpiresByType application/javascript "access plus 2 week"
    ExpiresByType image/x-icon "access plus 2 month"
    ExpiresByType image/icon "access plus 2 month"
    ExpiresByType application/x-ico "access plus 2 month"
    ExpiresByType application/ico "access plus 2 month"
    </ifModule>

    SİTE GİRİŞ YAPMIYOR 500 HATASI VERİYOR NE SIKINTI YAPIYOR OLABİLİR.
    .htaccess'tan olduğuna emin misiniz, siteniz normalde http mi ve http://www. mı var http:// mı var?
  • 06-04-2021, 18:06:17
    #3
    RewriteCond %{HTTP_HOST} ^www.(.*) [NC]
    RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
    yerine

    RewriteCond %{SERVER_PORT} !=443
    RewriteRule ^ https://www.siteadi.com%{REQUEST_URI} [NS,R,L]
    
    <IfModule mod_rewrite.c>
        RewriteCond %{HTTPS} off
        RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
        
        RewriteCond %{HTTP_HOST} !^www\. [NC]
        RewriteRule (.*) https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>
    olarak dener misin?
  • 06-04-2021, 18:24:37
    #4
    Üyeliği durduruldu
    develops adlı üyeden alıntı: mesajı görüntüle
    RewriteCond %{HTTP_HOST} ^www.(.*) [NC]
    RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
    yerine

    RewriteCond %{SERVER_PORT} !=443
    RewriteRule ^ https://www.siteadi.com%{REQUEST_URI} [NS,R,L]
    
    <IfModule mod_rewrite.c>
        RewriteCond %{HTTPS} off
        RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
        
        RewriteCond %{HTTP_HOST} !^www\. [NC]
        RewriteRule (.*) https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>
    olarak dener misin?
    Malesef işe yaramadı