Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Openai/6957e8fc-d914-8011-845c-5601f68f42b1
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Assistant: なるほど、プレビューでは表示されるのに実際の公開ページでは真っ白…という状況ですね。これは WordPress で比較的よくある現象で、原因はいくつか考えられます。順番に確認していきましょう。 === なるほど、プレビューでは表示されるのに実際の公開ページでは真っ白…という状況ですね。これは WordPress で比較的よくある現象で、原因はいくつか考えられます。順番に確認していきましょう。 ===== 1. キャッシュの影響 ===== * ブラウザキャッシュ:ブラウザが古いページを表示している可能性があります。 → ブラウザで 強制リロード(Windows: Ctrl+F5 / Mac: Cmd+Shift+R) を試す。 * WordPress キャッシュプラグイン:W3 Total Cache、WP Super Cache、LiteSpeed Cache などを使っている場合、更新後も古いキャッシュが表示されることがあります。 → キャッシュを すべて削除 して確認。 ===== 2. サーバー側キャッシュ ===== * レンタルサーバーにキャッシュ機能(例:Xserver の高速化キャッシュ)がある場合も同様。 → サーバー管理画面から キャッシュ削除 してみてください。 ===== 3. パーマリンク設定のリセット ===== * 固定ページが表示されないときはパーマリンクが原因になることがあります。 手順: 1. WordPress 管理画面 → 設定 → パーマリンク 2. 「変更を保存」をクリック(何も変更しなくても OK) → これで URL 再生成され、表示されることがあります。 ===== 4. テーマ・プラグインの干渉 ===== * 編集内容が表示されない場合、テーマやプラグインの干渉で出力が阻害されていることがあります。 手順: 1. すべてのプラグインを一時的に無効化 2. 固定ページを確認 3. 表示された場合、プラグインを一つずつ有効化して原因を特定 '' また、テーマファイル(特に page.php や template-''.php)にカスタマイズがあると、内容が反映されないことがあります。 → テーマを一時的にデフォルト(Twenty Twenty-Three 等)に切り替えて確認。 ===== 5. PHP エラーの可能性 ===== * 何らかの PHP エラーでページが真っ白になることがあります(いわゆる「White Screen of Death」)。 → wp-config.php に以下を追加してエラーを確認できます: ``<code>php define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', true); </code>`` これでエラーが画面に出るはずです。 💡 まずは確認すべき順序のまとめ: # ブラウザキャッシュのクリア # WordPress / サーバーのキャッシュ削除 # パーマリンク再保存 # プラグイン無効化 # テーマをデフォルトに切り替え # PHPエラーの確認 もし希望であれば、私が「今回の症状に最も可能性が高い原因とその対処法」を絞り込んで具体的に手順化することもできます。 確認しますが、今回の固定ページは 特定のページだけ真っ白 ですか、それとも すべての固定ページが真っ白 でしょうか?
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)