profilim Hosting firmanıza konu hakkında destek bileti açın. Onlar hallederler. Hosting firmanı SSL hallettikten sonra aşağıdaki konuyu inceleyin.
Paylaşımlı Hosting SSL kurulumu
mekici, başlığı Paylaşımlı Hosting SSL kurulumu olarak değiştirdi.
mekici, Barındırma etiketini ekledi.
ssl sorunu yok hosting ekibimle görüştüm. Sitede sıkıntı yok zaten ama http://www şeklinde girince sorun var ssl de
- Düzenlendi
profilim Aşağıdaki kodu htaccess dosyanıza ekleyin.
# http://www --> https://www
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI}/forum [R=301,L]
# http:// --> https://
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI}/forum [R=301,L]
# https:// --> https://www
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI}/forum [R=301,L]
En alta eklesem bir problem olur mu?
hata verdi olmuyor
/forum//forum şeklinde yönlendiriyor
profilim Aşağıdaki kodu deneyin bir de bakalım
# http://www --> https://www
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# http:// --> https://
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# https:// --> https://www
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
bu seferde www. koyuyor o yüzden de ssl hata veriyor. www komutunu sil öyle ekleyeyim
- Düzenlendi
yani https://www.site.com/forum/
böyle yönlendirincede hata veriyor
profilim Son olarak aşağıdaki kodu deneyin. Olmazsa son satırda bulunan /forum silip deneyin. Son satırda site url’sini girin.
# http://www --> https://www
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# http:// --> https://
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# https:// --> https://www
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule .* https://domain.com/forum [R=301,L]
bende anlamadım.. sen bana direk orjinal htacess kodu yollarmısın bi. belki bendekinde problem var .. hazırlayıp yollarsan sevinirim
Deniyorum şimdi gördüm
yok yine aynı