SSL kurulumu sonrası Pretty Url mesaj gönderme sorunu yaşıyorum.
Pretty Url'yi kapattığımda sorun yok. Bu seferde botlar gezemiyor. İndexlenen linkler çalışmıyor.
Konuda yanıtla dediğimde aşağıdaki hatayı veriyor;
Bu siteye ulaşılamıyor
https://www.kirkagacforum.com/teknoloji-bilgisayar/ssl-sertifikalari-hakkinda-genel-bilgiler/?action=post;last_msg=485 adresindeki web sayfası, geçici olarak kullanılamıyor veya kalıcı olarak yeni bir web adresine taşınmış olabilir.
ERR_RESPONSE_HEADERS_TRUNCATED
Pretty ayarları bu şekilde; https://i.hizliresim.com/JQm5ao.jpg
Sürekli Pretty Url'yi kapalı da tutamayız. Bu sorunu nasıl çözebilirim, yardımcı olabilir misiniz?
Hosttaki yetkililer settings.php dosyasına aşağıdaki kodu eklemişler;
if(isset($_SERVER['HTTP_SSL']))
{
$_SERVER['SERVER_PORT']=443;
$_SERVER['HTTPS']='on';
}
Demo Üyelik;
Kullanıcı Adı : demo
Şifre : demo
https://custom.simplemachines.org/mods/index.php?mod=636 buradaki modu denediniz mi?
O mod zaten kurulu. Resimde de ayarları var. Ayarlar o şekilde (Pretty aktif) olduğunda sorun oluyor. Pasif yapınca sorun olmuyor. Bu seferde google'da indexli linklere giriş olmuyor. Pretty de pasif olduğundan çalışmıyor.
Deneme amacıyla akşam pretty url'yi kaldırıp kurmayı deneyeceğim bakalım.
Ana dizindeki .htaccess dosyasını kontrol ettiniz mi pretty url modunun eklediği kodlarda eksik var mı
.htaccess dosya içeriği aşağıda;
# PRETTYURLS MOD BEGINS
# Pretty URLs mod
# http://code.google.com/p/prettyurls/
# .htaccess file generated automatically on: April 25, 2018, 19:59
RewriteEngine on
RewriteBase /
# Rules for: profiles
RewriteRule ^profile/([^/]+)/?$ ./index.php?pretty;action=profile;user=$1 [L,QSA]
# Rules for: actions
RewriteRule ^(activate|admin|ads|announce|attachapprove|buddy|calendar|clock)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(collapse|coppa|credits|deletemsg|display|dlattach|editpoll|editpoll2)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(emailuser|findmember|groups|help|helpadmin|im|jseditor|jsmodify)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(jsoption|lock|lockvoting|login|login2|logout|markasread|mergetopics)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(mlist|moderate|modifycat|modifykarma|movetopic|movetopic2|notify|notifyboard)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(openidreturn|pm|elifzeynep|post|post2|printpage|profile|quotefast)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(quickmod|quickmod2|recent|recenttopics|register|register2|reminder|removepoll)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(removetopic2|reporttm|requestmembers|restoretopic|search|search2|sendtopic|smstats)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(suggest|spellcheck|splittopics|stats|sticky|theme|trackip|about:mozilla)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(about:unknown|unread|unreadreplies|verificationcode|viewprofile|vote|viewquery|viewsmfile)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(who|\.xml|xmlhttp)/?$ ./index.php?pretty;action=$1 [L,QSA]
# Rules for: boards
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([0-9]*)/?$ ./index.php?pretty;board=$1.$2 [L,QSA]
# Rules for: topics
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1;topic=$2.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/([0-9]*|msg[0-9]*|new)/?$ ./index.php?pretty;board=$1;topic=$2.$3 [L,QSA]
# PRETTYURLS MOD ENDS
Bir sitede;
Ardından not defteri veya kod editörümüz ile .htaccess dosyamızı açıyoruz RewriteEngine On parametresi altına aşağıdaki kodu kendi domain adresimize göre ekliyoruz ;
RewriteCond %{SERVER_PORT} !=443
RewriteRule ^ https://www.alanadiniz.com%{REQUEST_URI} [NS,R,L]
Bunu da denedim değişen bir şey olmadı.
Ayrıca anadizinde settings.php dosyasında aşağıdaki şekilde yazıyor;
$boardurl = 'http://www.kirkagacforum.com'; # URL to your forum's folder. (without the trailing /!)
https yazınca site acayib bir şekilde açılıyor. style.css yi görmüyor gibi. Yine mesaj yazamıyorum.