{"id":872,"date":"2017-06-29T09:34:58","date_gmt":"2017-06-29T09:34:58","guid":{"rendered":"http:\/\/www.ozankabuk.com.tr\/?p=119"},"modified":"2022-09-30T21:15:22","modified_gmt":"2022-09-30T21:15:22","slug":"https-yonlendirmesi-nasil-yapilir","status":"publish","type":"post","link":"https:\/\/www.melibera.com\/blog\/https-yonlendirmesi-nasil-yapilir.html","title":{"rendered":"HTTPS Y\u00f6nlendirmesi Nas\u0131l Yap\u0131l\u0131r?"},"content":{"rendered":"<p><a href=\"https:\/\/www.melibera.com\/kategori\/ssl\">SSL Sertifikalar\u0131<\/a> art\u0131k hayat\u0131m\u0131zda neredeyse sorunlu bir hale gelmeye ba\u015flad\u0131. Bunun en ba\u015fl\u0131ca \u00f6rne\u011fi ise Google Chrome\u00b4un SSL sertifikas\u0131 olmayan web siteleri i\u00e7in sol \u00fcst tarafta g\u00fcvenli de\u011fil ba\u011flant\u0131s\u0131 koymas\u0131d\u0131r. Google Chrome\u00b4un bu hamlesinden sonra ba\u015fta Cpanel olmak \u00fczere bir \u00e7ok hosting kontrol panelinden sevindirici haber geldi ve SSL sertifikalar\u0131 i\u00e7in 3 ayl\u0131k \u00fccretsiz bir s\u00fcr\u00fcm \u00fcretildi \u00a0ve dileyen kullan\u0131c\u0131lar 3 ay boyunca bu SSL sertifikas\u0131n\u0131 aktif etmeye ba\u015flad\u0131. ( Hosting panelinizde \u00fccretsiz SSL yoksa hosting sa\u011flay\u0131c\u0131n\u0131z ile ileti\u015fime ge\u00e7erek aktif ettirebilirsiniz.)<\/p>\n<p>SSL Sertifikan\u0131z\u0131 kurdurduktan yada kurduktan sonra yapman\u0131z gereken bir i\u015f daha var tabi ki oda web sitenizi HTTPS protokol\u00fcne y\u00f6nlendirmek olacakt\u0131r. B\u00f6ylece web siteniz i\u00e7in art\u0131k SSL sertifikas\u0131 tamamen aktif olacakt\u0131r.<\/p>\n<p>Not: Sol \u00fcst tarafta g\u00fcvenli yaz\u0131s\u0131 i\u00e7in sitenizin kodlar\u0131nda bulunan HTTP:\/\/ \u015feklindeki linkleri HTTPS:\/\/ olarak de\u011fi\u015ftirmeniz gerekmektedir.<\/p>\n<p><strong>WordPress kullan\u0131c\u0131lar\u0131<\/strong> web sitelerini HTTPS protokol\u00fcne y\u00f6nlendirmek \u00e7ok zor de\u011fil asl\u0131nda ayarlar &gt; Genel ad\u0131mlar\u0131n\u0131 takip ederek &#8220;WordPress adresi&#8221; ve &#8220;Site adresi&#8221; b\u00f6l\u00fcmlerinde yazan URL\u00b4yi HTTPS:\/\/ olarak de\u011fi\u015ftirmeniz yeterli olacakt\u0131r. Ard\u0131ndan web sitenizin sayfalar\u0131n\u0131 dola\u015farak her sayfada CTRL + U tu\u015flar\u0131na basarak kaynak g\u00f6r\u00fcnt\u00fcleyicisini a\u00e7abilir ve HTTP:\/\/ \u015eeklinde olarak dosyalar\u0131n\u0131z \u00fczerinden HTTPS:\/\/ olarak g\u00fcncelleyebilirsiniz.<\/p>\n<figure id=\"attachment_1039\" aria-describedby=\"caption-attachment-1039\" style=\"width: 863px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1039\" src=\"https:\/\/www.melibera.com\/blog\/wp-content\/uploads\/wordpress-https.png\" alt=\"\" width=\"873\" height=\"309\" srcset=\"https:\/\/www.melibera.com\/blog\/wp-content\/uploads\/wordpress-https.png 873w, https:\/\/www.melibera.com\/blog\/wp-content\/uploads\/wordpress-https-300x106.png 300w, https:\/\/www.melibera.com\/blog\/wp-content\/uploads\/wordpress-https-768x272.png 768w\" sizes=\"(max-width: 873px) 100vw, 873px\" \/><figcaption id=\"caption-attachment-1039\" class=\"wp-caption-text\">wordpress https y\u00f6nlendirme<\/figcaption><\/figure>\n<p>Web siteniz illa ki wordpress olacak diye bir\u015fey yok tabi ki.<strong> Linux bir hosting<\/strong> hizmeti kullan\u0131yorsan\u0131z<strong>\u00a0.htaccess<\/strong> dosyas\u0131 \u00fczerinden HTTPS:\/\/ y\u00f6nlendirmesi yapman\u0131z m\u00fcmk\u00fcnd\u00fcr. bunun i\u00e7in\u00a0.htaccess dosyan\u0131z\u0131n i\u00e7erisine girerek a\u015fa\u011f\u0131da yer alan kodlar\u0131 eklemeniz yeterlidir.<\/p>\n<pre class=\"\"><strong><em>RewriteEngine On<\/em><\/strong>\r\n\r\n<strong><em>RewriteCond %{HTTPS} off<\/em><\/strong>\r\n\r\n<strong><em>RewriteRule (.*) https:\/\/%{HTTP_HOST}%{REQUEST_URI} [R,L]<\/em><\/strong><\/pre>\n<p><strong>Windows hosting<\/strong> hizmetiniz varsa yine SSL sertifikan\u0131z i\u00e7in HTTPS y\u00f6nlendirmesi yapman\u0131z m\u00fcmk\u00fcnd\u00fcr. Bunun i\u00e7in<strong> web.config<\/strong> dosyan\u0131z\u0131n i\u00e7erisine giriyoruz ve a\u015fa\u011f\u0131da yer alan kodlar\u0131 ekliyoruz.<\/p>\n<pre class=\"\"><strong><em>&lt;?xml version=\u201d1.0\u2033 encoding=\u201dUTF-8\u2033?&gt;<\/em><\/strong>\r\n\r\n<strong><em>&lt;configuration&gt;<\/em><\/strong>\r\n\r\n<strong><em>&lt;system.webServer&gt;<\/em><\/strong>\r\n\r\n<strong><em>&lt;rewrite&gt;<\/em><\/strong>\r\n\r\n<strong><em>&lt;rules&gt;<\/em><\/strong>\r\n\r\n<strong><em>&lt;rule name=\u201dhttp to https\u201d stopProcessing=\u201dtrue\u201d&gt;<\/em><\/strong>\r\n\r\n<strong><em>&lt;match url=\u201d(.*)\u201d \/&gt;<\/em><\/strong>\r\n\r\n<strong><em>&lt;conditions&gt;<\/em><\/strong>\r\n\r\n<strong><em>&lt;add input=\u201d{HTTPS}\u201d pattern=\u201d^OFF$\u201d \/&gt;<\/em><\/strong>\r\n\r\n<strong><em>&lt;\/conditions&gt;<\/em><\/strong>\r\n\r\n<strong><em>&lt;action type=\u201dRedirect\u201d url=\u201dhttps:\/\/{HTTP_HOST}\/{R:1}\u201d redirectType=\u201dTemporary\u201d \/&gt;<\/em><\/strong>\r\n\r\n<strong><em>&lt;\/rule&gt;<\/em><\/strong>\r\n\r\n<strong><em>&lt;\/rules&gt;<\/em><\/strong>\r\n\r\n<strong><em>&lt;\/rewrite&gt;<\/em><\/strong>\r\n\r\n<strong><em>&lt;\/system.webServer&gt;<\/em><\/strong>\r\n\r\n<strong><em>&lt;\/configuration&gt;<\/em><\/strong><\/pre>\n<p>Ve i\u015fte bu kadar. Art\u0131k web sitemiz HTTPS:\/\/ protokol\u00fc \u00fczerinde \u00e7al\u0131\u015fmaya ba\u015flad\u0131 ve web sitemize giri\u015f yapan kullan\u0131c\u0131lar g\u00fcvenli bir \u015fekilde web sitemizde gezebilirler.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SSL Sertifikalar\u0131 art\u0131k hayat\u0131m\u0131zda neredeyse sorunlu bir hale gelmeye ba\u015flad\u0131. Bunun en ba\u015fl\u0131ca \u00f6rne\u011fi ise Google Chrome\u00b4un SSL sertifikas\u0131 olmayan &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"HTTPS Y\u00f6nlendirmesi Nas\u0131l Yap\u0131l\u0131r?\" class=\"read-more button\" href=\"https:\/\/www.melibera.com\/blog\/https-yonlendirmesi-nasil-yapilir.html#more-872\" aria-label=\"More on HTTPS Y\u00f6nlendirmesi Nas\u0131l Yap\u0131l\u0131r?\">Devam\u0131\u0131n\u0131 Oku<\/a><\/p>\n","protected":false},"author":1,"featured_media":826,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,54],"tags":[70,203,209],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.melibera.com\/blog\/wp-json\/wp\/v2\/posts\/872"}],"collection":[{"href":"https:\/\/www.melibera.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.melibera.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.melibera.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.melibera.com\/blog\/wp-json\/wp\/v2\/comments?post=872"}],"version-history":[{"count":1,"href":"https:\/\/www.melibera.com\/blog\/wp-json\/wp\/v2\/posts\/872\/revisions"}],"predecessor-version":[{"id":1808,"href":"https:\/\/www.melibera.com\/blog\/wp-json\/wp\/v2\/posts\/872\/revisions\/1808"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.melibera.com\/blog\/wp-json\/wp\/v2\/media\/826"}],"wp:attachment":[{"href":"https:\/\/www.melibera.com\/blog\/wp-json\/wp\/v2\/media?parent=872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.melibera.com\/blog\/wp-json\/wp\/v2\/categories?post=872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.melibera.com\/blog\/wp-json\/wp\/v2\/tags?post=872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}