{"id":6954,"date":"2024-09-08T19:51:03","date_gmt":"2024-09-08T11:51:03","guid":{"rendered":"http:\/\/loc.jiyun.net\/?p=6824"},"modified":"2024-09-08T19:51:03","modified_gmt":"2024-09-08T11:51:03","slug":"wordpress-%e8%ae%be%e7%bd%ae%e5%a4%9a%e5%9f%9f%e5%90%8d%e5%8f%af%e8%ae%bf%e9%97%ae","status":"publish","type":"post","link":"http:\/\/puo.cn\/?p=6954","title":{"rendered":"WordPress \u8bbe\u7f6e\u591a\u57df\u540d\u53ef\u8bbf\u95ee"},"content":{"rendered":"<p style=\"box-sizing: border-box; margin: 10px 0px !important; white-space: normal; word-break: break-all; line-height: 2; color: #343a40; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\">\u5982\u679c\u4f60\u4f7f\u7528\u8fc7 wordpress\uff0c\u5e76\u66f4\u6362\u8fc7\u57df\u540d\uff0c\u90a3\u4e48\u4f60\u53ef\u80fd\u7ecf\u5386\u8fc7\u5faa\u73af\u91cd\u5b9a\u5411\u8fdb\u4e0d\u53bb wordpress \u7684\u60c5\u51b5\uff0c\u539f\u56e0\u5c31\u662f\u6570\u636e\u5e93\u7684 wp-options \u8868\u7684 siteurl \u548c home \u9009\u9879\u8fd8\u4f9d\u7136\u662f\u65e7\u7684\u57df\u540d\u3002<\/p>\n<p style=\"box-sizing: border-box; margin: 10px 0px !important; white-space: normal; word-break: break-all; line-height: 2; color: #343a40; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\">\u5982\u679c\u53ea\u80fd\u8bbe\u7f6e\u6570\u636e\u5e93\u6765\u6307\u5b9a\u57df\u540d\uff0c\u8fd9\u6837\u7684\u8bdd\u5c31\u4e0d\u80fd\u8bbe\u7f6e\u591a\u57df\u540d\u4e86\uff0c\u8fd9\u91cc\u5206\u4eab\u4e00\u4e2a\u591a\u57df\u540d\u7684\u8bbf\u95ee\u7684\u65b9\u5f0f\uff0c\u5e76\u4e14\u9759\u6001\u8d44\u6e90\u90fd\u5c06\u901a\u8fc7\u4e0d\u5e26\u57df\u540d\u7684\u6839\u8def\u5f84\u8bbf\u95ee\u3002<\/p>\n<p style=\"box-sizing: border-box; margin: 10px 0px !important; white-space: normal; word-break: break-all; line-height: 2; color: #343a40; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\">\u53ea\u9700\u8981\u4fee\u6539\u7f51\u7ad9\u6839\u76ee\u5f55\u7684 wp_config.php \u7684\u6587\u4ef6\uff0c\u4ee5\u4e0b\u5185\u5bb9\u5728\uff1a<code style=\"box-sizing: border-box; overflow-wrap: break-word; font-family: 'Segoe UI', 'Microsoft YaHei', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', sans-serif; font-size: 0.875em; color: var(--bs-code-color); margin: 2px 4px; padding: 0px 6px; border-radius: 4px; box-shadow: rgba(0, 0, 0, 0.125) 0px 1px 1px; background-color: var(--pk-bg-body); display: inline-block; text-indent: initial;\">require_once ABSPATH . 'wp-settings.php';<\/code>\u00a0\u524d\u9762\u8bbe\u7f6e\u3002<\/p>\n<div class=\"pk-code-tools\" style=\"box-sizing: border-box; white-space: normal; word-break: break-all; background-color: #0b1c2c; border-top-left-radius: var(--pk-g-box-radius); border-top-right-radius: var(--pk-g-box-radius); padding: 5px 10px 0px; display: flex; place-content: center space-between; color: #343a40; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\" data-pre-id=\"hljs-item-0\">\n<div class=\"dot\" style=\"box-sizing: border-box; white-space: normal; word-break: break-all;\"><\/div>\n<div class=\"actions\" style=\"box-sizing: border-box; white-space: normal; word-break: break-all;\">\n<div style=\"box-sizing: border-box; white-space: normal; word-break: break-all;\"><\/div>\n<\/div>\n<\/div>\n<table class=\"hljs-ln\" style=\"box-sizing: border-box; caption-side: bottom; border-collapse: collapse; display: block; overflow-x: auto;\">\n<tbody style=\"box-sizing: border-box; border: 0px solid inherit;\">\n<tr style=\"box-sizing: border-box; border: 0px solid inherit;\">\n<td class=\"hljs-ln-line hljs-ln-numbers\" style=\"box-sizing: border-box; word-break: normal !important; user-select: none; text-align: center; color: #8e8d8d; vertical-align: top; display: inline-block; margin-right: 10px; padding: 0px; border: 0px solid inherit;\" data-line-number=\"1\">\n<div class=\"hljs-ln-n\" style=\"box-sizing: border-box; white-space: normal; word-break: normal; margin-right: 3px; min-width: 20px;\" data-line-number=\"1\"><\/div>\n<\/td>\n<td class=\"hljs-ln-line hljs-ln-code\" style=\"box-sizing: border-box; word-break: normal !important; padding: 0px; border: 0px solid inherit;\" data-line-number=\"1\"><span class=\"hljs-comment\" style=\"box-sizing: border-box; color: #627e99;\"># \u65b9\u5f0f\u4e00\u3001 \u786e\u5b9a\u5168\u90e8\u4e3a https<\/span><\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box; border: 0px solid inherit;\">\n<td class=\"hljs-ln-line hljs-ln-numbers\" style=\"box-sizing: border-box; word-break: normal !important; user-select: none; text-align: center; color: #8e8d8d; vertical-align: top; display: inline-block; margin-right: 10px; padding: 0px; border: 0px solid inherit;\" data-line-number=\"2\">\n<div class=\"hljs-ln-n\" style=\"box-sizing: border-box; white-space: normal; word-break: normal; margin-right: 3px; min-width: 20px;\" data-line-number=\"2\"><\/div>\n<\/td>\n<td class=\"hljs-ln-line hljs-ln-code\" style=\"box-sizing: border-box; word-break: normal !important; padding: 0px; border: 0px solid inherit;\" data-line-number=\"2\">define(<span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;WP_SITEURL&#8217;<\/span>, <span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;https:\/\/&#8217;<\/span> . <span class=\"hljs-variable\" style=\"box-sizing: border-box; color: #bf8b56;\">$_SERVER<\/span>[<span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;HTTP_HOST&#8217;<\/span>]);<\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box; border: 0px solid inherit;\">\n<td class=\"hljs-ln-line hljs-ln-numbers\" style=\"box-sizing: border-box; word-break: normal !important; user-select: none; text-align: center; color: #8e8d8d; vertical-align: top; display: inline-block; margin-right: 10px; padding: 0px; border: 0px solid inherit;\" data-line-number=\"3\">\n<div class=\"hljs-ln-n\" style=\"box-sizing: border-box; white-space: normal; word-break: normal; margin-right: 3px; min-width: 20px;\" data-line-number=\"3\"><\/div>\n<\/td>\n<td class=\"hljs-ln-line hljs-ln-code\" style=\"box-sizing: border-box; word-break: normal !important; padding: 0px; border: 0px solid inherit;\" data-line-number=\"3\">define(<span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;WP_HOME&#8217;<\/span>, <span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;https:\/\/&#8217;<\/span> . <span class=\"hljs-variable\" style=\"box-sizing: border-box; color: #bf8b56;\">$_SERVER<\/span>[<span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;HTTP_HOST&#8217;<\/span>]);<\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box; border: 0px solid inherit;\">\n<td class=\"hljs-ln-line hljs-ln-numbers\" style=\"box-sizing: border-box; word-break: normal !important; user-select: none; text-align: center; color: #8e8d8d; vertical-align: top; display: inline-block; margin-right: 10px; padding: 0px; border: 0px solid inherit;\" data-line-number=\"4\">\n<div class=\"hljs-ln-n\" style=\"box-sizing: border-box; white-space: normal; word-break: normal; margin-right: 3px; min-width: 20px;\" data-line-number=\"4\"><\/div>\n<\/td>\n<td class=\"hljs-ln-line hljs-ln-code\" style=\"box-sizing: border-box; word-break: normal !important; padding: 0px; border: 0px solid inherit;\" data-line-number=\"4\"><\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box; border: 0px solid inherit;\">\n<td class=\"hljs-ln-line hljs-ln-numbers\" style=\"box-sizing: border-box; word-break: normal !important; user-select: none; text-align: center; color: #8e8d8d; vertical-align: top; display: inline-block; margin-right: 10px; padding: 0px; border: 0px solid inherit;\" data-line-number=\"5\">\n<div class=\"hljs-ln-n\" style=\"box-sizing: border-box; white-space: normal; word-break: normal; margin-right: 3px; min-width: 20px;\" data-line-number=\"5\"><\/div>\n<\/td>\n<td class=\"hljs-ln-line hljs-ln-code\" style=\"box-sizing: border-box; word-break: normal !important; padding: 0px; border: 0px solid inherit;\" data-line-number=\"5\"><span class=\"hljs-comment\" style=\"box-sizing: border-box; color: #627e99;\"># \u65b9\u5f0f\u4e8c\u3001\u9632\u6b62\u6076\u610f\u89e3\u6790<\/span><\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box; border: 0px solid inherit;\">\n<td class=\"hljs-ln-line hljs-ln-numbers\" style=\"box-sizing: border-box; word-break: normal !important; user-select: none; text-align: center; color: #8e8d8d; vertical-align: top; display: inline-block; margin-right: 10px; padding: 0px; border: 0px solid inherit;\" data-line-number=\"6\">\n<div class=\"hljs-ln-n\" style=\"box-sizing: border-box; white-space: normal; word-break: normal; margin-right: 3px; min-width: 20px;\" data-line-number=\"6\"><\/div>\n<\/td>\n<td class=\"hljs-ln-line hljs-ln-code\" style=\"box-sizing: border-box; word-break: normal !important; padding: 0px; border: 0px solid inherit;\" data-line-number=\"6\"><span class=\"hljs-variable\" style=\"box-sizing: border-box; color: #bf8b56;\">$pattern<\/span> = <span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;\/^[a-z0-9]+\\.amjun\\.com$\/&#8217;<\/span>;<\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box; border: 0px solid inherit;\">\n<td class=\"hljs-ln-line hljs-ln-numbers\" style=\"box-sizing: border-box; word-break: normal !important; user-select: none; text-align: center; color: #8e8d8d; vertical-align: top; display: inline-block; margin-right: 10px; padding: 0px; border: 0px solid inherit;\" data-line-number=\"7\">\n<div class=\"hljs-ln-n\" style=\"box-sizing: border-box; white-space: normal; word-break: normal; margin-right: 3px; min-width: 20px;\" data-line-number=\"7\"><\/div>\n<\/td>\n<td class=\"hljs-ln-line hljs-ln-code\" style=\"box-sizing: border-box; word-break: normal !important; padding: 0px; border: 0px solid inherit;\" data-line-number=\"7\"><span class=\"hljs-variable\" style=\"box-sizing: border-box; color: #bf8b56;\">$domain<\/span> = <span class=\"hljs-keyword\" style=\"box-sizing: border-box; color: #bf568b;\">array<\/span>(<span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8220;www.amjun.com&#8221;<\/span>, <span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8220;amjun.com&#8221;<\/span>);<\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box; border: 0px solid inherit;\">\n<td class=\"hljs-ln-line hljs-ln-numbers\" style=\"box-sizing: border-box; word-break: normal !important; user-select: none; text-align: center; color: #8e8d8d; vertical-align: top; display: inline-block; margin-right: 10px; padding: 0px; border: 0px solid inherit;\" data-line-number=\"8\">\n<div class=\"hljs-ln-n\" style=\"box-sizing: border-box; white-space: normal; word-break: normal; margin-right: 3px; min-width: 20px;\" data-line-number=\"8\"><\/div>\n<\/td>\n<td class=\"hljs-ln-line hljs-ln-code\" style=\"box-sizing: border-box; word-break: normal !important; padding: 0px; border: 0px solid inherit;\" data-line-number=\"8\"><span class=\"hljs-keyword\" style=\"box-sizing: border-box; color: #bf568b;\">if<\/span> (in_array(<span class=\"hljs-variable\" style=\"box-sizing: border-box; color: #bf8b56;\">$_SERVER<\/span>[<span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;HTTP_HOST&#8217;<\/span>], <span class=\"hljs-variable\" style=\"box-sizing: border-box; color: #bf8b56;\">$domain<\/span>) || preg_match(<span class=\"hljs-variable\" style=\"box-sizing: border-box; color: #bf8b56;\">$pattern<\/span>, <span class=\"hljs-variable\" style=\"box-sizing: border-box; color: #bf8b56;\">$_SERVER<\/span>[<span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;HTTP_HOST&#8217;<\/span>])) {<\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box; border: 0px solid inherit;\">\n<td class=\"hljs-ln-line hljs-ln-numbers\" style=\"box-sizing: border-box; word-break: normal !important; user-select: none; text-align: center; color: #8e8d8d; vertical-align: top; display: inline-block; margin-right: 10px; padding: 0px; border: 0px solid inherit;\" data-line-number=\"9\">\n<div class=\"hljs-ln-n\" style=\"box-sizing: border-box; white-space: normal; word-break: normal; margin-right: 3px; min-width: 20px;\" data-line-number=\"9\"><\/div>\n<\/td>\n<td class=\"hljs-ln-line hljs-ln-code\" style=\"box-sizing: border-box; word-break: normal !important; padding: 0px; border: 0px solid inherit;\" data-line-number=\"9\">  define(<span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;WP_SITEURL&#8217;<\/span>, <span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;https:\/\/&#8217;<\/span> . <span class=\"hljs-variable\" style=\"box-sizing: border-box; color: #bf8b56;\">$_SERVER<\/span>[<span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;HTTP_HOST&#8217;<\/span>]);<\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box; border: 0px solid inherit;\">\n<td class=\"hljs-ln-line hljs-ln-numbers\" style=\"box-sizing: border-box; word-break: normal !important; user-select: none; text-align: center; color: #8e8d8d; vertical-align: top; display: inline-block; margin-right: 10px; padding: 0px; border: 0px solid inherit;\" data-line-number=\"10\">\n<div class=\"hljs-ln-n\" style=\"box-sizing: border-box; white-space: normal; word-break: normal; margin-right: 3px; min-width: 20px;\" data-line-number=\"10\"><\/div>\n<\/td>\n<td class=\"hljs-ln-line hljs-ln-code\" style=\"box-sizing: border-box; word-break: normal !important; padding: 0px; border: 0px solid inherit;\" data-line-number=\"10\">  define(<span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;WP_HOME&#8217;<\/span>, <span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;https:\/\/&#8217;<\/span> . <span class=\"hljs-variable\" style=\"box-sizing: border-box; color: #bf8b56;\">$_SERVER<\/span>[<span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;HTTP_HOST&#8217;<\/span>]);<\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box; border: 0px solid inherit;\">\n<td class=\"hljs-ln-line hljs-ln-numbers\" style=\"box-sizing: border-box; word-break: normal !important; user-select: none; text-align: center; color: #8e8d8d; vertical-align: top; display: inline-block; margin-right: 10px; padding: 0px; border: 0px solid inherit;\" data-line-number=\"11\">\n<div class=\"hljs-ln-n\" style=\"box-sizing: border-box; white-space: normal; word-break: normal; margin-right: 3px; min-width: 20px;\" data-line-number=\"11\"><\/div>\n<\/td>\n<td class=\"hljs-ln-line hljs-ln-code\" style=\"box-sizing: border-box; word-break: normal !important; padding: 0px; border: 0px solid inherit;\" data-line-number=\"11\">}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"box-sizing: border-box; margin: 10px 0px !important; white-space: normal; word-break: break-all; line-height: 2; color: #343a40; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\">\u6ce8\u610f\uff1a\u6ca1\u6709\u5982\u4e0b\u8bbe\u7f6e\u53ef\u80fd\u8fdb\u4e0d\u53bb\u540e\u53f0\u3002\uff08\u731c\u6d4b\u540e\u53f0\u9ed8\u8ba4\u4e0d\u5f00\u542fssl\u8bbf\u95ee\uff0c\u6240\u4ee5\u8bbf\u95ee\u5230 http \u94fe\u63a5\uff0c\u7136\u540e\u4e00\u76f4\u8df3\u8f6c\uff09<\/p>\n<div class=\"pk-code-tools\" style=\"box-sizing: border-box; white-space: normal; word-break: break-all; background-color: #0b1c2c; border-top-left-radius: var(--pk-g-box-radius); border-top-right-radius: var(--pk-g-box-radius); padding: 5px 10px 0px; display: flex; place-content: center space-between; color: #343a40; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\" data-pre-id=\"hljs-item-1\">\n<div class=\"dot\" style=\"box-sizing: border-box; white-space: normal; word-break: break-all;\"><\/div>\n<div class=\"actions\" style=\"box-sizing: border-box; white-space: normal; word-break: break-all;\">\n<div style=\"box-sizing: border-box; white-space: normal; word-break: break-all;\"><\/div>\n<\/div>\n<\/div>\n<table class=\"hljs-ln\" style=\"box-sizing: border-box; caption-side: bottom; border-collapse: collapse; display: block; overflow-x: auto;\">\n<tbody style=\"box-sizing: border-box; border: 0px solid inherit;\">\n<tr style=\"box-sizing: border-box; border: 0px solid inherit;\">\n<td class=\"hljs-ln-line hljs-ln-numbers\" style=\"box-sizing: border-box; word-break: normal !important; user-select: none; text-align: center; color: #8e8d8d; vertical-align: top; display: inline-block; margin-right: 10px; padding: 0px; border: 0px solid inherit;\" data-line-number=\"1\">\n<div class=\"hljs-ln-n\" style=\"box-sizing: border-box; white-space: normal; word-break: normal; margin-right: 3px; min-width: 20px;\" data-line-number=\"1\"><\/div>\n<\/td>\n<td class=\"hljs-ln-line hljs-ln-code\" style=\"box-sizing: border-box; word-break: normal !important; padding: 0px; border: 0px solid inherit;\" data-line-number=\"1\"><span class=\"hljs-comment\" style=\"box-sizing: border-box; color: #627e99;\"># \u5f3a\u5236\u540e\u53f0\u548c\u767b\u9646\u4f7f\u7528 ssl\uff0c\u8fd9\u6837\u540e\u53f0\u53d1\u8d77\u7684\u8bf7\u6c42\u5168\u90e8\u90fd\u662f https<\/span><\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box; border: 0px solid inherit;\">\n<td class=\"hljs-ln-line hljs-ln-numbers\" style=\"box-sizing: border-box; word-break: normal !important; user-select: none; text-align: center; color: #8e8d8d; vertical-align: top; display: inline-block; margin-right: 10px; padding: 0px; border: 0px solid inherit;\" data-line-number=\"2\">\n<div class=\"hljs-ln-n\" style=\"box-sizing: border-box; white-space: normal; word-break: normal; margin-right: 3px; min-width: 20px;\" data-line-number=\"2\"><\/div>\n<\/td>\n<td class=\"hljs-ln-line hljs-ln-code\" style=\"box-sizing: border-box; word-break: normal !important; padding: 0px; border: 0px solid inherit;\" data-line-number=\"2\"><span class=\"hljs-variable\" style=\"box-sizing: border-box; color: #bf8b56;\">$_SERVER<\/span>[<span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;HTTPS&#8217;<\/span>] = <span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;on&#8217;<\/span>;<\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box; border: 0px solid inherit;\">\n<td class=\"hljs-ln-line hljs-ln-numbers\" style=\"box-sizing: border-box; word-break: normal !important; user-select: none; text-align: center; color: #8e8d8d; vertical-align: top; display: inline-block; margin-right: 10px; padding: 0px; border: 0px solid inherit;\" data-line-number=\"3\">\n<div class=\"hljs-ln-n\" style=\"box-sizing: border-box; white-space: normal; word-break: normal; margin-right: 3px; min-width: 20px;\" data-line-number=\"3\"><\/div>\n<\/td>\n<td class=\"hljs-ln-line hljs-ln-code\" style=\"box-sizing: border-box; word-break: normal !important; padding: 0px; border: 0px solid inherit;\" data-line-number=\"3\">define(<span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;FORCE_SSL_LOGIN&#8217;<\/span>, <span class=\"hljs-literal\" style=\"box-sizing: border-box; color: #bfbf56;\">true<\/span>);<\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box; border: 0px solid inherit;\">\n<td class=\"hljs-ln-line hljs-ln-numbers\" style=\"box-sizing: border-box; word-break: normal !important; user-select: none; text-align: center; color: #8e8d8d; vertical-align: top; display: inline-block; margin-right: 10px; padding: 0px; border: 0px solid inherit;\" data-line-number=\"4\">\n<div class=\"hljs-ln-n\" style=\"box-sizing: border-box; white-space: normal; word-break: normal; margin-right: 3px; min-width: 20px;\" data-line-number=\"4\"><\/div>\n<\/td>\n<td class=\"hljs-ln-line hljs-ln-code\" style=\"box-sizing: border-box; word-break: normal !important; padding: 0px; border: 0px solid inherit;\" data-line-number=\"4\">define(<span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">&#8216;FORCE_SSL_ADMIN&#8217;<\/span>, <span class=\"hljs-literal\" style=\"box-sizing: border-box; color: #bfbf56;\">true<\/span>);<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"box-sizing: border-box; margin: 10px 0px !important; white-space: normal; word-break: break-all; line-height: 2; color: #343a40; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\">\u9759\u6001\u8d44\u6e90\u4e5f\u8bbe\u7f6e\u4e3a\u6839\u8def\u5f84\uff0c\u8fd9\u6837\u7684\u8bdd\u53ef\u4ee5\u5a92\u4f53\u94fe\u63a5\u90fd\u5c06\u4e0d\u5e26\u57df\u540d\u3002<\/p>\n<div class=\"pk-code-tools\" style=\"box-sizing: border-box; white-space: normal; word-break: break-all; background-color: #0b1c2c; border-top-left-radius: var(--pk-g-box-radius); border-top-right-radius: var(--pk-g-box-radius); padding: 5px 10px 0px; display: flex; place-content: center space-between; color: #343a40; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\" data-pre-id=\"hljs-item-2\">\n<div class=\"dot\" style=\"box-sizing: border-box; white-space: normal; word-break: break-all;\"><\/div>\n<div class=\"actions\" style=\"box-sizing: border-box; white-space: normal; word-break: break-all;\">\n<div style=\"box-sizing: border-box; white-space: normal; word-break: break-all;\"><\/div>\n<\/div>\n<\/div>\n<pre id=\"hljs-item-2\" class=\"hljs language-sql\" style=\"box-sizing: border-box; margin-bottom: 1rem; font-family: var(--bs-font-monospace); font-size: 0.925em; display: block; margin-top: 0px; overflow: auto; padding: 10px; border-bottom-left-radius: var(--pk-g-box-radius); border-bottom-right-radius: var(--pk-g-box-radius); white-space: pre-wrap; overflow-wrap: break-word; color: #cbd6e2; background: #0b1c2c; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\"><span class=\"hljs-keyword\" style=\"box-sizing: border-box; color: #bf568b;\">define<\/span>(<span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">'WP_CONTENT_URL'<\/span>, <span class=\"hljs-string\" style=\"box-sizing: border-box; color: #56bf8b;\">'\/wp-content'<\/span>);<\/pre>\n<p style=\"box-sizing: border-box; margin: 10px 0px !important; white-space: normal; word-break: break-all; line-height: 2; color: #343a40; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6825\" title=\"64ca76e37e043\" src=\"http:\/\/loc.jiyun.net\/blogtest\/2024\/09\/64ca76e37e043.png\" alt=\"64ca76e37e043\" width=\"1920\" height=\"892\" \/><\/p>\n<p class=\"fs12 c-sub\" style=\"box-sizing: border-box; margin: 10px 0px !important; white-space: normal; word-break: break-all; font-size: 12px; color: var(--pk-c-sub) !important; line-height: 2; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\"><i class=\"fa fa-circle-exclamation me-1\" style=\"box-sizing: border-box; margin-right: 0.25rem !important; font-family: var(--fa-style-family,'Font Awesome 6 Free'); font-weight: var(--fa-style,900); -webkit-font-smoothing: antialiased; display: var(--fa-display,inline-block); font-style: normal; font-variant: normal; line-height: 1; text-rendering: auto;\"><\/i>\u63d0\u9192\uff1a\u672c\u6587\u53d1\u5e03\u4e8e402\u5929\u524d\uff0c\u6587\u4e2d\u6240\u5173\u8054\u7684\u4fe1\u606f\u53ef\u80fd\u5df2\u53d1\u751f\u6539\u53d8\uff0c\u8bf7\u77e5\u6089\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u4f60\u4f7f\u7528\u8fc7 wordpress\uff0c\u5e76\u66f4\u6362\u8fc7\u57df\u540d\uff0c\u90a3\u4e48\u4f60\u53ef\u80fd\u7ecf\u5386\u8fc7\u5faa\u73af\u91cd\u5b9a\u5411\u8fdb\u4e0d\u53bb wordpress \u7684\u60c5\u51b5\uff0c\u539f\u56e0\u5c31\u662f\u6570\u636e\u5e93\u7684 wp-options \u8868\u7684 siteurl \u548c home \u9009\u9879\u8fd8\u4f9d\u7136\u662f\u65e7\u7684\u57df\u540d\u3002 \u5982\u679c\u53ea\u80fd\u8bbe\u7f6e\u6570\u636e\u5e93\u6765\u6307\u5b9a\u57df\u540d\uff0c&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[140],"tags":[],"topic":[],"class_list":["post-6954","post","type-post","status-publish","format-standard","hentry","category-domain-website"],"_links":{"self":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/6954","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6954"}],"version-history":[{"count":0,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/6954\/revisions"}],"wp:attachment":[{"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6954"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6954"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6954"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftopic&post=6954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}