Nameserver sorunumu çözdüm diye sevinirken şimdi de gzip sorunu başıma bela oldu. Cpanel den optimize website kısmından gzip aktifleştirdim. Sonra .htaccess dosyasına da gzip kodunu ekledim. Sonra siteye bir daha giremedim. Internal server 500 hatası verdi.
Hostgator a sordum anında site açıldı. Ama sitenin geçmiş görüntüsü çıktı. Dosyaları silip tekrardan attım ama nafile. Diğer sitemde de dosyaları sildim yine de girmeye devam ediyor. Tekrardan kurulum yapacağım olmuyor. Zaten chat ingilizce olduğu için anlaşamıyorum. Sorunun çözümünü bilen var mı acaba?
Gzip açtım site göçtü
2
●692
- 12-01-2014, 15:38:20
- 12-01-2014, 15:45:51Muhtemelen htaccesse eklediğiniz kod, hostgatorun güvenlik ayarlarıyla çakışıyor.
- 12-01-2014, 16:05:12Ama hocam o dosyayı komple sildim.Elazığlı168 adlı üyeden alıntı: mesajı görüntüle
Edit: Şimdi hiç bir sitem açılmıyor. Ana dizinde ki (shared host kullanıyorum) sitemin .htaccess kodun da bunlar yazıyordu. Diğer bir sitemden (wp super cache kurulu) .htaccess dosyasını kopyaladım 500 internal server hatası vermeye başladı. Aynısını yine yazdım ama yine değişmedi. Şimdi hiç bir siteye ulaşamıyorum.
RewriteEngine on RewriteBase / RewriteCond %{QUERY_STRING} (^|&)m=0(&|$) RewriteRule ^ � [CO=mredir:0:http://www.siteadresi.com/home] # BEGIN W3TC Browser Cache <IfModule mod_deflate.c> <IfModule mod_headers.c> Header append Vary User-Agent env=!dont-vary </IfModule> AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json <IfModule mod_mime.c> # DEFLATE by extension AddOutputFilter DEFLATE js css htm html xml </IfModule> </IfModule> # END W3TC Browser Cache # BEGIN W3TC Page Cache core <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTP:Accept-Encoding} gzip RewriteRule .* - [E=W3TC_ENC:_gzip] RewriteCond %{REQUEST_METHOD} !=POST RewriteCond %{QUERY_STRING} ="" RewriteCond %{REQUEST_URI} \/$ RewriteCond %{HTTP_COOKIE} !(comment_author|wp-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC] RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index.html%{ENV:W3TC_ENC}" -f RewriteRule .* "/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index.html%{ENV:W3TC_ENC}" [L] </IfModule> # END W3TC Page Cache core # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress