http'den https'ye Yönlendirme Ve www Yönlendirme
Aşağıdaki kuralı .htaccess dosyanıza ekleyerek web sitenin hem http den https şeklinde yönlenmesini, hemde www şeklinde açılmasını sağlayabilirsiniz ;
RewriteCond %{HTTP_HOST} !^www\.siteismi\.com RewriteRule (.*) https://www.siteismi.com/$1 [R=301,L] RewriteCond %{SERVER_PORT} !=443 RewriteRule ^ https://www.siteismi.com%{REQUEST_URI} [NS,R,L]
not : siteismi.com alanlarını kendi alan adınıza göre güncelleyin.
Was this answer helpful?
Have not you found what you're looking for here? Since this field is not constantly updated, maybe it is not what you are looking for. For more articles visit our Webmaster Blog site ; http://blog.cliaweb.com