Posted by devrimmehmet on June 23, 2017 at 1:22am
.htaccess dosyamı düzenlemek isterken sildim.
yedeğim yok ne yapabilirim tekrar oluşturmanın bir yolu varmı ?
elimde dosyanın son haline dair bir kopya mevcut herhangi bir yerini silmedim ama sanırım bir yerinde hata var o yedeği yüklediğimdede Internal Server Error hatası devam ediyor
.htaccess dosyasını tamamen sildiğimde ana sayfa açılıyor fakat giriş yapamıyorum ve ana sayfa dışındaki tüm linklerde not found hatası alıyorum
Categories: .htaccess, sorun giderme
Comments
Drupal core would have a fresh copy
You would be able to get an unmodified
.htaccessfile by downloading Drupal core again, from https://www.drupal.org/project/drupalIf you have the time, it may be worth learning how to use Git (or another version control system of your choice): a version control system is designed to keep track of changes you make to files inside a folder, so that you can "undo" your changes if you accidentally delete a file, or change a file in a way that causes problems.
(I hope this answers your question — my native language is English and I'm reading your question through Google Translate)
Thank you...(dissolved)
My problem is solved thank you, but when I try to do the transaction I get the same error again.
I can not redirect http page to https.
Sorunum çözüldü teşekkür ederim fakat işlem yapmaya kalktığımda yine aynı hatayla karşılaşıyorum.
http sayfayı https'e yönlendiremiyorum.
Http HTTPS yönlendirmek
Çözüm:
.htaccess dosyasına şunları eklemek yeterli.
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www.sizinsiteniz.com*
RewriteRule ^(.*)$ https://sizinsiteniz.com/1ドル [L,R=301]