{"id":56754,"date":"2024-04-12T18:01:20","date_gmt":"2024-04-12T09:01:20","guid":{"rendered":"https:\/\/kinsta.com\/jp\/?p=56754&#038;preview=true&#038;preview_id=56754"},"modified":"2024-04-16T17:45:56","modified_gmt":"2024-04-16T08:45:56","slug":"cannot-modify-header-information-headers-already-sent-by","status":"publish","type":"post","link":"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/","title":{"rendered":"\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u300cWarning: Cannot modify header information &#8211; headers already sent by\u300d\u306e\u89e3\u6c7a\u65b9\u6cd5"},"content":{"rendered":"<p><a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-errors\/\">WordPress\u30a8\u30e9\u30fc<\/a>\u306e\u591a\u304f\u306f\u3001\u4f55\u304c\u539f\u56e0\u3067\u554f\u984c\u304c\u751f\u3058\u3066\u3044\u308b\u304b\u3092\u8aac\u660e\u3059\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u3082\u8868\u793a\u3057\u307e\u3059\u3002\u4eca\u56de\u53d6\u308a\u4e0a\u3052\u308b\u300cWarning: Cannot modify header information &#8211; headers already sent by\u300d\uff08\u8b66\u544a\uff1a\u30d8\u30c3\u30c0\u30fc\u60c5\u5831\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u2500\u30d8\u30c3\u30c0\u30fc\u306f\u3059\u3067\u306b\u9001\u4fe1\u3055\u308c\u3066\u3044\u307e\u3059\uff09\u3068\u3044\u3046\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/what-is-php\/\">PHP<\/a>\u30d5\u30a1\u30a4\u30eb\u306e\u30b3\u30fc\u30c9\u306b\u554f\u984c\u304c\u3042\u308a\u5b9f\u884c\u304c\u3067\u304d\u306a\u3044\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u300cCannot modify header information\u300d\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u306f\u3044\u304f\u3064\u304b\u8003\u3048\u3089\u308c\u307e\u3059\u304c\u3001\u3053\u306e\u30a8\u30e9\u30fc\u306f\u554f\u984c\u306e\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u3001\u3055\u3089\u306b\u306f\u5177\u4f53\u7684\u306a\u30b3\u30fc\u30c9\u884c\u307e\u3067\u7279\u5b9a\u3057\u3066\u304f\u308c\u308b\u305f\u3081\u3001\u3059\u3050\u306b\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3053\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u539f\u56e0\u30682\u3064\u306e\u89e3\u6c7a\u7b56\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<div><\/div><kinsta-auto-toc heading=\"Table of Contents\" exclude=\"last\" list-style=\"arrow\" selector=\"h2\" count-number=\"-1\"><\/kinsta-auto-toc>\n<h2>\u300cCannot modify header information\u300d\u30a8\u30e9\u30fc\u306e\u539f\u56e0<\/h2>\n<p>\u5192\u982d\u3067\u8ff0\u3079\u305f\u901a\u308a\u3001\u300cCannot modify header information\u300d\u30a8\u30e9\u30fc\u306f\u3001\u30b5\u30a4\u30c8\u306e<strong>.php<\/strong>\u30d5\u30a1\u30a4\u30eb\u304c\u5b9f\u884c\u3067\u304d\u306a\u3044\u5834\u5408\u306b\u767a\u751f\u3057\u307e\u3059\u3002<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-files\/\">WordPress<\/a>\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/wp-config-php\/\">wp-config.php<\/a>\u3084<a href=\"https:\/\/developer.wordpress.org\/themes\/basics\/theme-functions\/\" target=\"_blank\" rel=\"noopener noreferrer\">functions.php<\/a>\u306a\u3069\u306e.php\u30d5\u30a1\u30a4\u30eb\u306b\u4f9d\u5b58\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30a4\u30c8\u304c\u8aad\u307f\u8fbc\u3080\u5fc5\u8981\u306e\u3042\u308b.<strong>php<\/strong>\u30d5\u30a1\u30a4\u30eb\u306e\u3044\u305a\u308c\u304b\u306b\u554f\u984c\u304c\u3042\u308b\u3068\u3001\u4ee5\u4e0b\u3088\u3046\u306a\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code><strong>Warning: Cannot modify header information - headers already sent by (output started at \/home\/public_html\/wp-config.php:#) in \/home\/public_html\/wp-includes\/file-example.php on line 33<\/strong><\/code><\/pre>\n<p>\u3053\u306e\u30a8\u30e9\u30fc\u306b\u3064\u3044\u3066\u306f\u3001\u5e78\u3044\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u306b\u5f79\u7acb\u3064\u8a73\u7d30\u60c5\u5831\u3092\u63d0\u4f9b\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u4e0a\u306e\u4f8b\u3067\u306f\u30012\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u304c\u6319\u3052\u3089\u308c\u3066\u304a\u308a\u30011\u3064\u76ee\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u554f\u984c\u304c\u3042\u308a\u30012\u3064\u76ee\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u5b9f\u884c\u3092\u59a8\u3052\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u6700\u5f8c\u306b\u3042\u308b\u300cline XX\u300d\uff08\u4e0a\u306e\u4f8b\u3067\u306f\u300cline 33\u300d\uff09\u306f\u3001\u554f\u984c\u306e\u3042\u308b\u30b3\u30fc\u30c9\u884c\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>PHP\u30b3\u30fc\u30c9\u306e\u554f\u984c\u306f\u3001\u57fa\u672c\u7684\u306b\u306f\u7c21\u5358\u306b\u4fee\u6b63\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li><code><strong>&lt;?php<\/strong><\/code>\u306e\u524d\u3001\u307e\u305f\u306f<code><strong>?&gt;<\/strong><\/code>\u306e\u5f8c\u306b\u7a7a\u767d\u304c\u3042\u308b<\/li>\n<li>PHP header\u95a2\u6570\u306e\u524d\u306e<a href=\"https:\/\/kinsta.com\/blog\/markdown-editor\/\">HTML\u30d6\u30ed\u30c3\u30af<\/a><\/li>\n<li>PHP <a href=\"https:\/\/kinsta.com\/jp\/blog\/add-code-wordpress-header-footer\/\">header<\/a>\u95a2\u6570\u306e\u524d\u306b\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b<code><strong>print<\/strong><\/code>\u307e\u305f\u306f<code><strong>echo<\/strong><\/code>\u6587<\/li>\n<li>\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30b3\u30fc\u30c9\u306b\u554f\u984c\u304c\u3042\u308b<\/li>\n<\/ul>\n<p>\u3053\u306e\u624b\u306e\u30a8\u30e9\u30fc\u3092\u4fee\u6b63\u3059\u308b\u306b\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/edit-wordpress-code\/\">PHP\u30b3\u30fc\u30c9\u306e\u4fee\u6b63<\/a>\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u72ec\u81ea\u306b\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u77e5\u8b58\u304c\u306a\u304f\u64cd\u4f5c\u306b\u4e0d\u5b89\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u958b\u767a\u8005\u306e\u624b\u3092\u501f\u308a\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\uff08\u7279\u306b\u7a7a\u767d\u6587\u5b57\u3084PHP\u306eheader\u95a2\u6570\u306e\u524d\u306b\u3042\u308b\u6587\u4ee5\u5916\u304c\u539f\u56e0\u306e\u5834\u5408\uff09\u3002<\/p>\n<h2>\u300cCannot modify header information\u300d\u30a8\u30e9\u30fc\u3092\u89e3\u6c7a\u3059\u308b\u306b\u306f\uff082\u3064\u306e\u65b9\u6cd5\uff09<\/h2>\n<p>\u300cCannot modify header information\u300d\u30a8\u30e9\u30fc\u306b\u306f2\u3064\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\u6cd5\u304c\u3042\u308a\u3001\u6700\u521d\u306b\u3054\u7d39\u4ecb\u3059\u308b\u65b9\u6cd5\u306f\u3001WordPress\u7ba1\u7406\u753b\u9762\u3067\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>2\u3064\u76ee\u306e\u65b9\u6cd5\u306f\u3001FTP\/SFTP\u3092\u4f7f\u7528\u3059\u308b\u3082\u306e\u3067\u3001\u7ba1\u7406\u753b\u9762\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u3001\u3042\u308b\u3044\u306fWordPress\u3092\u4f7f\u7528\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306b\u6709\u7528\u3067\u3059\u3002<\/p>\n<h3>1. \u30d7\u30e9\u30b0\u30a4\u30f3\/\u30c6\u30fc\u30de\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u4fee\u6b63\u3059\u308b\u304b\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u7f6e\u304d\u63db\u3048\u308b<\/h3>\n<p>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u300cWarning: Cannot modify header information &#8211; headers already sent by\u300d\u306b\u906d\u9047\u3057\u305f\u3089\u3001\u307e\u305a\u6700\u521d\u306b\u884c\u3046\u3053\u3068\u306f\u3001\u554f\u984c\u306e\u539f\u56e0\u3068\u306a\u3063\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u3053\u3068\u3067\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u3001\u793a\u3055\u308c\u3066\u3044\u308b\u30b3\u30fc\u30c9\u884c\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3067\u3042\u308c\u3070\u3001\u30c6\u30fc\u30de\u306e<strong>functions.php<\/strong>\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre><code><strong>Warning: Cannot modify header information - headers already sent by (output started at \/home\/public_html\/wp-content\/themes\/twentytwentyone\/functions.php:#) in \/home\/public_html\/wp-includes\/file-example.php on line 1<\/strong><\/code><\/pre>\n<p>\u3053\u306e\u5834\u5408\u306f\u3001WordPress\u306e<a href=\"https:\/\/kinsta.com\/blog\/php-editor\/\">\u30c6\u30fc\u30de\u30a8\u30c7\u30a3\u30bf\u30fc<\/a>\u3092\u4f7f\u7528\u3057\u3066\u539f\u56e0\u3092\u7a81\u304d\u6b62\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u958b\u3044\u305f\u3089\u3001\u53f3\u5074\u306e\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<figure style=\"width: 1061px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2021\/11\/theme-editor-functions.png\" alt=\"\u30c6\u30fc\u30de\u306e\u95a2\u6570\u30d5\u30a1\u30a4\u30eb\uff08functions.php\uff09\" width=\"1061\" height=\"526\"><figcaption class=\"wp-caption-text\">\u30c6\u30fc\u30de\u306e\u95a2\u6570\u30d5\u30a1\u30a4\u30eb\uff08functions.php\uff09<\/figcaption><\/figure>\n<p>\u4e0a\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u306b\u306f\u30011\u884c\u76ee\u306b\u3042\u308b<code><strong>&lt;?php<\/strong><\/code>\u30bf\u30b0\u306e\u524d\u306b\u7a7a\u767d\u304c\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306f1\u884c\u76ee\u306b\u554f\u984c\u304c\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u3053\u306e\u7a7a\u767d\u304c\u539f\u56e0\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u5834\u5408\u306f\u3001\u3053\u306e\u7a7a\u767d\u3092\u524a\u9664\u3057\u300c<strong>\u30d5\u30a1\u30a4\u30eb\u3092\u66f4\u65b0<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u5909\u66f4\u3092\u4fdd\u5b58\u3059\u308b\u3060\u3051\u3067OK\u3067\u3059\u3002\u30b5\u30a4\u30c8\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3059\u308b\u3068\u3001\u30a8\u30e9\u30fc\u304c\u89e3\u6d88\u3055\u308c\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>WordPress\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u30a8\u30c7\u30a3\u30bf\u30fc\uff08\u300c<strong>\u30d7\u30e9\u30b0\u30a4\u30f3<\/strong>\u300d\uff1e\u300c<strong>\u30d7\u30e9\u30b0\u30a4\u30f3\u30a8\u30c7\u30a3\u30bf\u30fc<\/strong>\u300d\uff09\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3082\u540c\u69d8\u3067\u3059\u3002\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u30d7\u30e9\u30b0\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\u306b\u554f\u984c\u304c\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u540c\u3058\u64cd\u4f5c\u3092\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u3001WordPress\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u306b\u554f\u984c\u304c\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u305d\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u524a\u9664\u3057\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3001\u9ad8\u78ba\u7387\u3067\u89e3\u6c7a\u3057\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001\u4f7f\u7528\u3059\u308b\u30c4\u30fc\u30eb\u306b\u3088\u3063\u3066\u306f\u3001\u305d\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u8a2d\u5b9a\u304c\u5931\u308f\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u3001\u30a2\u30c9\u30aa\u30f3\u306e\u518d\u8a2d\u5b9a\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>2. FTP\/SFTP\u3067\u554f\u984c\u306e\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b<\/h3>\n<p>\u300cCannot modify header information\u300d\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u306f\u3001WordPress\u306e\u30c6\u30fc\u30de\u307e\u305f\u306f\u30d7\u30e9\u30b0\u30a4\u30f3\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u306a\u30d5\u30a1\u30a4\u30eb\u3067\u306a\u3044\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002\u3042\u308b\u3044\u306f\u3001WordPress\u4ee5\u5916\u3067\u30b5\u30a4\u30c8\u3092\u69cb\u7bc9\u30fb\u904b\u55b6\u3057\u3066\u3044\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u305d\u306e\u5834\u5408\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/ftp-vs-sftp\/\">FTP\/SFTP<\/a>\u3067\u554f\u984c\u306e\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<a href=\"https:\/\/wordpress.org\/support\/article\/using-filezilla\/\">FileZilla<\/a>\u306e\u3088\u3046\u306a<a href=\"https:\/\/kinsta.com\/jp\/blog\/best-ftp-clients\/\">FTP\u307e\u305f\u306fSFTP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8<\/a>\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u30b5\u30a4\u30c8\u306eFTP\/SFTP\u8a8d\u8a3c\u60c5\u5831\u3082\u6c42\u3081\u3089\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u901a\u5e38\u3001\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d1\u30cd\u30eb\u3067\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Kinsta\u3092\u3054\u5229\u7528\u306e\u5834\u5408\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/mykinsta\/\">MyKinsta<\/a>\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3001\u300c<strong>WordPress\u30b5\u30a4\u30c8<\/strong>\u300d\uff1e\uff08<strong>\u30b5\u30a4\u30c8\u540d<\/strong>\uff09\uff1e\u300c<strong>\u60c5\u5831<\/strong>\u300d\u3067\u78ba\u8a8d\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<figure id=\"attachment_134793\" aria-describedby=\"caption-attachment-134793\" style=\"width: 1400px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-134793 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2022\/10\/mykinsta-sftp-details.png\" alt=\"MyKinsta\u306eSFTP\u8a8d\u8a3c\u60c5\u5831\" width=\"1400\" height=\"739\"><figcaption id=\"caption-attachment-134793\" class=\"wp-caption-text\">MyKinsta\u306eSFTP\u8a8d\u8a3c\u60c5\u5831<\/figcaption><\/figure>\n<p>\u8a8d\u8a3c\u60c5\u5831\u3092\u7528\u610f\u3057\u305f\u3089\u3001FTP\u307e\u305f\u306fSFTP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001<strong>\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/strong>\u3092\u898b\u3064\u3051\u3066\u304f\u3060\u3055\u3044\uff08\u300c<strong>root<\/strong>\u300d\u300c<strong>public_html<\/strong>\u300d\u300c<strong>public<\/strong>\u300d\u307e\u305f\u306f\u30b5\u30a4\u30c8\u540d\uff09\u3002<\/p>\n<p>WordPress\u306e<strong>\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/strong>\u306e\u4e2d\u8eab\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<figure style=\"width: 904px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2021\/11\/wordpress-root-directory.png\" alt=\"WordPress\u306e\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\" width=\"904\" height=\"561\"><figcaption class=\"wp-caption-text\">WordPress\u306e\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/figcaption><\/figure>\n<p>\u300cWarning: Cannot modify header information &#8211; headers already sent by\u300d\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u63a2\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001<code><strong>public\/wp-config.php<\/strong><\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001\u300c<strong>View\/Edit<\/strong>\u300d\uff08\u8868\u793a\/\u7de8\u96c6\uff09\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<figure style=\"width: 902px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2021\/11\/view-edit-file.png\" alt=\"wp.config\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\" width=\"902\" height=\"566\"><figcaption class=\"wp-caption-text\">wp.config\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f<\/figcaption><\/figure>\n<p>\u9078\u629e\u3059\u308b\u3068\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u30d5\u30a1\u30a4\u30eb\u304c\u958b\u304d\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u305f\u3089\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u793a\u3059\u30b3\u30fc\u30c9\u884c\u306b\u79fb\u52d5\u3057\u3066\u3001\u30a8\u30e9\u30fc\u3092\u898b\u3064\u3051\u307e\u3057\u3087\u3046\u3002<\/p>\n<figure style=\"width: 938px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2021\/11\/wp-config-php-file.png\" alt=\"\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u793a\u3059\u884c\u3092\u898b\u3064\u3051\u308b\" width=\"938\" height=\"458\"><figcaption class=\"wp-caption-text\">\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u793a\u3059\u884c\u3092\u898b\u3064\u3051\u308b<\/figcaption><\/figure>\n<p>\u30a8\u30e9\u30fc\u304c\u898b\u5f53\u305f\u3089\u306a\u3044\u5834\u5408\u306f\u3001PHP\u30d5\u30a1\u30a4\u30eb\u306e\u6271\u3044\u306b\u6163\u308c\u3066\u3044\u308b\u958b\u767a\u8005\u306b\u76f8\u8ac7\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u7a7a\u767d\u3084PHP\u306eheader\u95a2\u6570\u524d\u306e\u6587\u304c\u539f\u56e0\u3067\u3042\u308c\u3070\u3001\u81ea\u5206\u3067\u7c21\u5358\u306b\u30a8\u30e9\u30fc\u3092\u89e3\u6d88\u3067\u304d\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>\u4f5c\u696d\u3092\u7d42\u3048\u305f\u3089\u30d5\u30a1\u30a4\u30eb\u306e\u5909\u66f4\u3092\u4fdd\u5b58\u3057\u3001FTP\/SFTP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u9589\u3058\u307e\u3059\u3002\u30b5\u30a4\u30c8\u3092\u518d\u5ea6\u958b\u304f\u3068\u3001\u30a8\u30e9\u30fc\u304c\u6d88\u3048\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u300cWarning: Cannot modify header information &#8211; headers already sent by\u300d\u30a8\u30e9\u30fc\u306f\u3001\u305d\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u9577\u3055\u304b\u3089\u4e0d\u5b89\u306b\u306a\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u3057\u304b\u3057\u3001\u9006\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u9577\u3044\u3053\u3068\u3067\u89e3\u6c7a\u306e\u624b\u304c\u304b\u308a\u3092\u63b4\u307f\u3084\u3059\u304f\u3001\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u306f\u610f\u5916\u3068\u7c21\u5358\u3067\u3059\u3002\u4ed6\u306e\u30a8\u30e9\u30fc\u3068\u306f\u7570\u306a\u308a\u3001\u3069\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u3069\u306e\u884c\u306b\u554f\u984c\u304c\u3042\u308b\u306e\u304b\u3092\u7d30\u304b\u304f\u77e5\u3089\u305b\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<p>\u554f\u984c\u306e\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u306b\u3088\u3063\u3066\u3001\u4ee5\u4e0b2\u3064\u306e\u89e3\u6c7a\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30d7\u30e9\u30b0\u30a4\u30f3\u307e\u305f\u306f\u30c6\u30fc\u30de\u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30a8\u30e9\u30fc\u3092\u4fee\u6b63\u3059\u308b\u304b\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u7f6e\u304d\u63db\u3048\u308b<\/li>\n<li>FTP\/SFTP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u554f\u984c\u306e\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b<\/li>\n<\/ol>\n<p>\u539f\u56e0\u3092\u7a81\u304d\u6b62\u3081\u308b\u306e\u306f\u7c21\u5358\u3067\u3059\u304c\u3001PHP\u306e\u77e5\u8b58\u304c\u306a\u3044\u5834\u5408\u306f\u89e3\u6c7a\u304c\u96e3\u3057\u3044\u53ef\u80fd\u6027\u3082\u3042\u308a\u307e\u3059\u3002\u4e0d\u5b89\u3067\u3042\u308c\u3070\u3001\u4fe1\u983c\u3067\u304d\u308b\u958b\u767a\u8005\u306b\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u4f9d\u983c\u3059\u308b\u3053\u3068\u3082\u691c\u8a0e\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3053\u306e\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u7b56\u306b\u3064\u3044\u3066\u3054\u8cea\u554f\u304c\u3042\u308a\u307e\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30b3\u30e1\u30f3\u30c8\u6b04\u3067\u304a\u77e5\u3089\u305b\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u30a8\u30e9\u30fc\u306e\u591a\u304f\u306f\u3001\u4f55\u304c\u539f\u56e0\u3067\u554f\u984c\u304c\u751f &#8230;<\/p>\n","protected":false},"author":117,"featured_media":56755,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kinsta_gated_content":false,"_kinsta_gated_content_redirect":"","footnotes":""},"tags":[],"topic":[830,821],"class_list":["post-56754","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","topic-wordpress-issues","topic-website-errors"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.6 (Yoast SEO v24.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u300cCannot modify header information - headers already sent by\u300d\u306e\u89e3\u6c7a\u65b9\u6cd5<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u300cCannot modify header information - headers already sent by\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u300cWarning: Cannot modify header information - headers already sent by\u300d\u306e\u89e3\u6c7a\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u300cCannot modify header information - headers already sent by\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/\" \/>\n<meta property=\"og:site_name\" content=\"Kinsta\u00ae\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-04-12T09:01:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-16T08:45:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/cannot-modify-header-information-headers-already-sent-by.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1460\" \/>\n\t<meta property=\"og:image:height\" content=\"730\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Salman Ravoof\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u300cCannot modify header information - headers already sent by\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/cannot-modify-header-information-headers-already-sent-by-1024x512.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@salmanravoof\" \/>\n<meta name=\"twitter:site\" content=\"@Kinsta_JP\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Salman Ravoof\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/\"},\"author\":{\"name\":\"Salman Ravoof\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/9cafd2eedd617e640eeea4cf3a5fd987\"},\"headline\":\"\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u300cWarning: Cannot modify header information &#8211; headers already sent by\u300d\u306e\u89e3\u6c7a\u65b9\u6cd5\",\"datePublished\":\"2024-04-12T09:01:20+00:00\",\"dateModified\":\"2024-04-16T08:45:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/\"},\"wordCount\":178,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/cannot-modify-header-information-headers-already-sent-by.jpg\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/\",\"url\":\"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/\",\"name\":\"\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u300cCannot modify header information - headers already sent by\u300d\u306e\u89e3\u6c7a\u65b9\u6cd5\",\"isPartOf\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/cannot-modify-header-information-headers-already-sent-by.jpg\",\"datePublished\":\"2024-04-12T09:01:20+00:00\",\"dateModified\":\"2024-04-16T08:45:56+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u300cCannot modify header information - headers already sent by\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/#primaryimage\",\"url\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/cannot-modify-header-information-headers-already-sent-by.jpg\",\"contentUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/cannot-modify-header-information-headers-already-sent-by.jpg\",\"width\":1460,\"height\":730},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kinsta.com\/jp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress\u306e\u554f\u984c\u3068\u5bfe\u51e6\",\"item\":\"https:\/\/kinsta.com\/jp\/topics\/wordpress-issues\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u300cWarning: Cannot modify header information &#8211; headers already sent by\u300d\u306e\u89e3\u6c7a\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kinsta.com\/jp\/#website\",\"url\":\"https:\/\/kinsta.com\/jp\/\",\"name\":\"Kinsta\u00ae\",\"description\":\"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9\",\"publisher\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kinsta.com\/jp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\",\"name\":\"Kinsta\",\"url\":\"https:\/\/kinsta.com\/jp\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"contentUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"width\":500,\"height\":500,\"caption\":\"Kinsta\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\",\"https:\/\/x.com\/Kinsta_JP\",\"https:\/\/www.instagram.com\/kinstahosting\/\",\"https:\/\/www.linkedin.com\/company\/kinsta\/\",\"https:\/\/www.pinterest.com\/kinstahosting\/\",\"https:\/\/www.youtube.com\/c\/Kinsta\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/9cafd2eedd617e640eeea4cf3a5fd987\",\"name\":\"Salman Ravoof\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0c5885f75cb78473fb7408e5e49ad190?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0c5885f75cb78473fb7408e5e49ad190?s=96&d=mm&r=g\",\"caption\":\"Salman Ravoof\"},\"description\":\"Salman Ravoof is a self-taught web developer, writer, creator, and a huge admirer of Free and Open Source Software (FOSS). Besides tech, he's excited by science, philosophy, photography, arts, cats, and food. Learn more about him on his website, and connect with Salman on Twitter.\",\"sameAs\":[\"https:\/\/salmanravoof.com\",\"https:\/\/www.linkedin.com\/in\/salman-ravoof-5a749133\/\",\"https:\/\/x.com\/salmanravoof\"],\"url\":\"https:\/\/kinsta.com\/jp\/blog\/author\/salmanravoof\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u300cCannot modify header information - headers already sent by\u300d\u306e\u89e3\u6c7a\u65b9\u6cd5","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u300cCannot modify header information - headers already sent by\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/","og_locale":"ja_JP","og_type":"article","og_title":"\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u300cWarning: Cannot modify header information - headers already sent by\u300d\u306e\u89e3\u6c7a\u65b9\u6cd5","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u300cCannot modify header information - headers already sent by\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","og_url":"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/","og_site_name":"Kinsta\u00ae","article_publisher":"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","article_published_time":"2024-04-12T09:01:20+00:00","article_modified_time":"2024-04-16T08:45:56+00:00","og_image":[{"width":1460,"height":730,"url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/cannot-modify-header-information-headers-already-sent-by.jpg","type":"image\/jpeg"}],"author":"Salman Ravoof","twitter_card":"summary_large_image","twitter_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u300cCannot modify header information - headers already sent by\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","twitter_image":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/cannot-modify-header-information-headers-already-sent-by-1024x512.jpg","twitter_creator":"@salmanravoof","twitter_site":"@Kinsta_JP","twitter_misc":{"\u57f7\u7b46\u8005":"Salman Ravoof","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/#article","isPartOf":{"@id":"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/"},"author":{"name":"Salman Ravoof","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/9cafd2eedd617e640eeea4cf3a5fd987"},"headline":"\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u300cWarning: Cannot modify header information &#8211; headers already sent by\u300d\u306e\u89e3\u6c7a\u65b9\u6cd5","datePublished":"2024-04-12T09:01:20+00:00","dateModified":"2024-04-16T08:45:56+00:00","mainEntityOfPage":{"@id":"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/"},"wordCount":178,"commentCount":0,"publisher":{"@id":"https:\/\/kinsta.com\/jp\/#organization"},"image":{"@id":"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/#primaryimage"},"thumbnailUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/cannot-modify-header-information-headers-already-sent-by.jpg","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/","url":"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/","name":"\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u300cCannot modify header information - headers already sent by\u300d\u306e\u89e3\u6c7a\u65b9\u6cd5","isPartOf":{"@id":"https:\/\/kinsta.com\/jp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/#primaryimage"},"image":{"@id":"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/#primaryimage"},"thumbnailUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/cannot-modify-header-information-headers-already-sent-by.jpg","datePublished":"2024-04-12T09:01:20+00:00","dateModified":"2024-04-16T08:45:56+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u300cCannot modify header information - headers already sent by\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/#primaryimage","url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/cannot-modify-header-information-headers-already-sent-by.jpg","contentUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/cannot-modify-header-information-headers-already-sent-by.jpg","width":1460,"height":730},{"@type":"BreadcrumbList","@id":"https:\/\/kinsta.com\/jp\/blog\/cannot-modify-header-information-headers-already-sent-by\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kinsta.com\/jp\/"},{"@type":"ListItem","position":2,"name":"WordPress\u306e\u554f\u984c\u3068\u5bfe\u51e6","item":"https:\/\/kinsta.com\/jp\/topics\/wordpress-issues\/"},{"@type":"ListItem","position":3,"name":"\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u300cWarning: Cannot modify header information &#8211; headers already sent by\u300d\u306e\u89e3\u6c7a\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/kinsta.com\/jp\/#website","url":"https:\/\/kinsta.com\/jp\/","name":"Kinsta\u00ae","description":"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9","publisher":{"@id":"https:\/\/kinsta.com\/jp\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kinsta.com\/jp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/kinsta.com\/jp\/#organization","name":"Kinsta","url":"https:\/\/kinsta.com\/jp\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/","url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","contentUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","width":500,"height":500,"caption":"Kinsta"},"image":{"@id":"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","https:\/\/x.com\/Kinsta_JP","https:\/\/www.instagram.com\/kinstahosting\/","https:\/\/www.linkedin.com\/company\/kinsta\/","https:\/\/www.pinterest.com\/kinstahosting\/","https:\/\/www.youtube.com\/c\/Kinsta"]},{"@type":"Person","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/9cafd2eedd617e640eeea4cf3a5fd987","name":"Salman Ravoof","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0c5885f75cb78473fb7408e5e49ad190?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0c5885f75cb78473fb7408e5e49ad190?s=96&d=mm&r=g","caption":"Salman Ravoof"},"description":"Salman Ravoof is a self-taught web developer, writer, creator, and a huge admirer of Free and Open Source Software (FOSS). Besides tech, he's excited by science, philosophy, photography, arts, cats, and food. Learn more about him on his website, and connect with Salman on Twitter.","sameAs":["https:\/\/salmanravoof.com","https:\/\/www.linkedin.com\/in\/salman-ravoof-5a749133\/","https:\/\/x.com\/salmanravoof"],"url":"https:\/\/kinsta.com\/jp\/blog\/author\/salmanravoof\/"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/56754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/users\/117"}],"replies":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/comments?post=56754"}],"version-history":[{"count":6,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/56754\/revisions"}],"predecessor-version":[{"id":56839,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/56754\/revisions\/56839"}],"alternate":[{"embeddable":true,"hreflang":"en","title":"English","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/56754\/translations\/en"},{"embeddable":true,"hreflang":"it","title":"Italian","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/56754\/translations\/it"},{"embeddable":true,"hreflang":"pt","title":"Portuguese","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/56754\/translations\/pt"},{"embeddable":true,"hreflang":"fr","title":"French","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/56754\/translations\/fr"},{"embeddable":true,"hreflang":"es","title":"Spanish","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/56754\/translations\/es"},{"embeddable":true,"hreflang":"de","title":"German","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/56754\/translations\/de"},{"embeddable":true,"hreflang":"ja","title":"Japanese","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/56754\/translations\/jp"},{"href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/56754\/tree"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/media\/56755"}],"wp:attachment":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/media?parent=56754"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/tags?post=56754"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/topic?post=56754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}