{"id":3202,"date":"2018-02-27T12:46:16","date_gmt":"2018-02-27T09:16:16","guid":{"rendered":"https:\/\/www.irwebhost.com\/blog\/?p=3202"},"modified":"2019-10-28T14:22:12","modified_gmt":"2019-10-28T10:52:12","slug":"%d8%aa%d8%ba%db%8c%db%8c%d8%b1-%d8%ae%d9%88%d8%af%da%a9%d8%a7%d8%b1-%d9%85%d8%b3%db%8c%d8%b1-http-%d8%a8%d9%87-https","status":"publish","type":"post","link":"https:\/\/www.irwebhost.com\/blog\/%d8%aa%d8%ba%db%8c%db%8c%d8%b1-%d8%ae%d9%88%d8%af%da%a9%d8%a7%d8%b1-%d9%85%d8%b3%db%8c%d8%b1-http-%d8%a8%d9%87-https\/","title":{"rendered":"\u062a\u063a\u06cc\u06cc\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0645\u0633\u06cc\u0631 HTTP \u0628\u0647 HTTPS"},"content":{"rendered":"<p>\u0627\u06af\u0631 \u0628\u0631 \u0631\u0648\u06cc \u0633\u0627\u06cc\u062a \u06af\u0648\u0627\u0647\u06cc (SSL) \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u0627\u0632 \u062d\u0641\u0627\u0638\u062a \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062e\u0648\u062f \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0628\u0627\u0632\u062f\u06cc\u062f\u06a9\u0646\u0646\u062f\u06af\u0627\u0646 \u0631\u0627 \u0628\u0647 \u0646\u0633\u062e\u0647 \u0627\u06cc\u0645\u0646 \u0648\u0628 \u0633\u0627\u06cc\u062a (HTTPS) \u062e\u0648\u062f \u0647\u062f\u0627\u06cc\u062a \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u0647\u062f\u0627\u06cc\u062a \u0633\u0627\u06cc\u062a \u0628\u0647 https\u00a0 \u0628\u0647 \u0646\u0648\u0639 \u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u0634\u0645\u0627 \u0628\u0633\u062a\u06af\u06cc \u062f\u0627\u0631\u062f.<\/p>\n<p>\u06a9\u0646\u062a\u0631\u0644 \u067e\u0646\u0644<\/p>\n<pre style=\"text-align: left\" class=\"\">RewriteEngine On\r\nRewriteCond %{HTTPS} off\r\nRewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}%{REQUEST_URI} [L,R=301]<\/pre>\n<h2>Linux &amp; cPanel :<\/h2>\n<p>\u0633\u0631\u0648\u06cc\u0633 \u0647\u0627\u06cc \u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u06a9\u0647 \u0627\u0632 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u0646\u062f \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u0627\u0632 \u0641\u0627\u06cc\u0644 <code>.htaccess<\/code>\u00a0 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u0646\u062f.<\/p>\n<p><!--more--><\/p>\n<p>\u0628\u0631\u0627\u06cc \u0647\u062f\u0627\u06cc\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0628\u0627\u0632\u062f\u06cc\u062f\u06a9\u0646\u0646\u062f\u06af\u0627\u0646 \u0628\u0647 \u0646\u0633\u062e\u0647 HTTPS \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 <code>.htaccess<\/code>\u00a0 \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<p>&nbsp;<\/p>\n<p>\u06a9\u0646\u062a\u0631\u0644 \u067e\u0646\u0644<\/p>\n<h2><\/h2>\n<h2>Windows &amp; Plesk<\/h2>\n<p>\u0633\u0631\u0648\u06cc\u0633 \u0647\u0627\u06cc \u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u06a9\u0647 \u0627\u0632 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0648\u06cc\u0646\u062f\u0648\u0632 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u0646\u062f \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u0627\u0632 \u0641\u0627\u06cc\u0644\u00a0web.config\u00a0 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u0646\u062f.<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0647\u062f\u0627\u06cc\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0628\u0627\u0632\u062f\u06cc\u062f\u06a9\u0646\u0646\u062f\u06af\u0627\u0646 \u0628\u0647 \u0646\u0633\u062e\u0647 HTTPS \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644\u00a0<code>web.config<\/code> \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">&lt;configuration&gt;\r\n&lt;system.webServer&gt;\r\n&lt;rewrite&gt;\r\n&lt;rules&gt;\r\n&lt;rule name=\"http to https\" stopProcessing=\"true\"&gt;\r\n&lt;match url=\"(.*)\" \/&gt;\r\n&lt;conditions&gt;\r\n&lt;add input=\"{HTTPS}\" pattern=\"OFF\" ignoreCase=true\" \/&gt;\r\n&lt;\/conditions&gt;\r\n&lt;action type=\"Redirect\" redirectType=\"Temporary\" url=\"https:\/\/{HTTP_HOST}\/{R:1}\" \/&gt;\r\n&lt;\/rule&gt;\r\n&lt;\/rules&gt;\r\n&lt;\/rewrite&gt;\r\n&lt;\/system.webServer&gt;\r\n&lt;\/configuration&gt;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u0627\u06af\u0631 \u0628\u0631 \u0631\u0648\u06cc \u0633\u0627\u06cc\u062a \u06af\u0648\u0627\u0647\u06cc (SSL) \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u0627\u0632 \u062d\u0641\u0627\u0638\u062a \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062e\u0648\u062f \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0628\u0627\u0632\u062f\u06cc\u062f\u06a9\u0646\u0646\u062f\u06af\u0627\u0646 \u0631\u0627 \u0628\u0647 \u0646\u0633\u062e\u0647 \u0627\u06cc\u0645\u0646 \u0648\u0628 \u0633\u0627\u06cc\u062a (HTTPS) \u062e\u0648\u062f \u0647\u062f\u0627\u06cc\u062a \u06a9\u0646\u06cc\u062f. \u0647\u062f\u0627\u06cc\u062a \u0633\u0627\u06cc\u062a \u0628\u0647 https\u00a0 \u0628\u0647 \u0646\u0648\u0639 \u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u0634\u0645\u0627 \u0628\u0633\u062a\u06af\u06cc \u062f\u0627\u0631\u062f. \u06a9\u0646\u062a\u0631\u0644 \u067e\u0646\u0644 RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}%{REQUEST_URI} [L,R=301] Linux &amp; cPanel : [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":3210,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,15,151,1,18,11,16],"tags":[330,331,329],"class_list":["post-3202","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-17","category-15","category-151","category-1","category-18","category-11","category-16","tag-http","tag-https","tag-329"],"_links":{"self":[{"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/posts\/3202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/comments?post=3202"}],"version-history":[{"count":27,"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/posts\/3202\/revisions"}],"predecessor-version":[{"id":3595,"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/posts\/3202\/revisions\/3595"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/media\/3210"}],"wp:attachment":[{"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/media?parent=3202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/categories?post=3202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/tags?post=3202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}