{"id":30,"date":"2024-08-03T20:12:54","date_gmt":"2024-08-03T17:12:54","guid":{"rendered":"https:\/\/casp.ru\/?p=30"},"modified":"2024-08-03T20:25:15","modified_gmt":"2024-08-03T17:25:15","slug":"wordpress-https-err_too_many_redirects","status":"publish","type":"post","link":"https:\/\/casp.ru\/?p=30","title":{"rendered":"\u041b\u0435\u0447\u0438\u043c wordpress https err_too_many_redirects"},"content":{"rendered":"\n\u041f\u043e \u043a\u0430\u043a\u043e\u0439 \u043b\u043e\u0433\u0438\u043a\u0435 wordpress \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 \u0447\u0442\u043e \u043a \u043d\u0435\u043c\u0443 \u043f\u0440\u0438\u0448\u0435\u043b https \u043d\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043d\u043e \u0447\u0430\u0441\u0442\u043e \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u043c\u0441\u044f \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u043a\u043e\u0433\u0434\u0430 \u0441\u0442\u0438\u043b\u0438 \u0438 js \u0432\u043e\u0440\u0434\u043f\u0440\u0435\u0441\u0441 \u043e\u0442\u0434\u0430\u0435\u0442\u00a0 \u043f\u043e http \u0438 \u0438\u0437\u0437\u0430 <em>mixed content <\/em>\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u0438\u0445 \u0440\u0435\u0436\u0443\u0442. \u0415\u0441\u043b\u0438 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 (\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 -&gt; \u041e\u0431\u0449\u0438\u0435) \u0436\u0435\u0441\u0442\u043a\u043e \u0443\u043a\u0430\u0437\u0430\u043b\u0438 \u0430\u0434\u0440\u0435\u0441 \u0441\u0430\u0439\u0442\u0430 <em>http<strong>S:\/\/<\/strong>site.com\/<\/em>\u00a0\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c\u00a0err_too_many_redirects. \u041b\u0435\u043a\u0430\u0440\u0441\u0442\u0432\u043e \u043d\u0438\u0436\u0435.\n\n\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c wp-config.php, \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u043e\u0439 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\n<pre class=\\\"lang:sh decode:true\\\">$_SERVER[\\'HTTPS\\'] = \\'on\\';<\/pre>\n\u0418 \u043f\u043e\u0441\u043b\u0435 \u0432\u0441\u0435\u0445 define, \u043f\u043e\u0441\u043b\u0435\u00a0<em>define(\\&#8217;WP_DEBUG\\&#8217;, false); <\/em>\u043f\u0435\u0440\u0435\u0434 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435\u043c\u00a0<em>\/* That\\&#8217;s all, stop editing! Happy blogging. *\/<\/em>\n<pre class=\\\"lang:sh decode:true \\\">define(\\'FORCE_SSL_ADMIN\\', true);\ndefine(\\'FORCE_SSL_LOGIN\\', true);\nif (strpos($_SERVER[\\'HTTP_X_FORWARDED_PROTO\\'], \\'https\\') !== false)\n$_SERVER[\\'HTTPS\\']=\\'on\\';<\/pre>\n<a href=\\\"\/content\/uploads\/2018\/07\/screen_wp-config.png\\\"><img class=\\\"wp-image-326 size-medium\\\" src=\\\"\/content\/uploads\/2018\/07\/screen_wp-config-300x126.png\\\" alt=\\\"wordpress https err_too_many_redirects\\\" width=\\\"300\\\" height=\\\"126\\\" \/><\/a>\n\n&nbsp;\n\n\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e WordPress \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043f\u043e https.\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u043e \u043a\u0430\u043a\u043e\u0439 \u043b\u043e\u0433\u0438\u043a\u0435 wordpress \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 \u0447\u0442\u043e \u043a \u043d\u0435\u043c\u0443 \u043f\u0440\u0438\u0448\u0435\u043b https \u043d\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043d\u043e \u0447\u0430\u0441\u0442\u043e \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u043c\u0441\u044f \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u043a\u043e\u0433\u0434\u0430 \u0441\u0442\u0438\u043b\u0438 \u0438 js \u0432\u043e\u0440\u0434\u043f\u0440\u0435\u0441\u0441 \u043e\u0442\u0434\u0430\u0435\u0442\u00a0 \u043f\u043e http \u0438 \u0438\u0437\u0437\u0430 mixed content \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u0438\u0445 \u0440\u0435\u0436\u0443\u0442. \u0415\u0441\u043b\u0438 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 (\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 -&gt; \u041e\u0431\u0449\u0438\u0435) \u0436\u0435\u0441\u0442\u043a\u043e \u0443\u043a\u0430\u0437\u0430\u043b\u0438<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-30","post","type-post","status-publish","format-standard","hentry","category-1","entry"],"_links":{"self":[{"href":"https:\/\/casp.ru\/index.php?rest_route=\/wp\/v2\/posts\/30","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/casp.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/casp.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/casp.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/casp.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=30"}],"version-history":[{"count":2,"href":"https:\/\/casp.ru\/index.php?rest_route=\/wp\/v2\/posts\/30\/revisions"}],"predecessor-version":[{"id":36,"href":"https:\/\/casp.ru\/index.php?rest_route=\/wp\/v2\/posts\/30\/revisions\/36"}],"wp:attachment":[{"href":"https:\/\/casp.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/casp.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/casp.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}