Merhabalar aşağıdaki .htaccess kodu ile http linkleri https olarak yönlendiriyorum. www. koymadan girilen adreslere www ekliyorum. subdomain i https den mahrum ediyorum. subdomain http şeklinde çalışıyor.
Ancak subdomaine kendim
www.oyna.site.com şeklinde girersem başına https ekliyor. Subdomainin başına
www.eklediğimdede https 'e yönlenmemesini istiyorum. (bing subdomaini başında www olarak indexliyor)
Yardımcı olurmusunuz ?
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} !^oyna\.site\.com
RewriteRule .* https://%{HTTP_HOST}:443%{REQUEST_URI} [QSA,R=permanent,L]
RewriteCond %{HTTP_HOST} !^www\.site\.com
RewriteCond %{HTTP_HOST} !^oyna\.site\.com
RewriteRule (.*) https://www.site.com/$1 [R=301,L]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress