LoginSignup
0
0

More than 1 year has passed since last update.

【WordPress】画面表示がおかしい!

Last updated at Posted at 2023-06-27

:hatching_chick::sweat_drops:ローカル環境でWordPressで作ったサイトを表示したら画面崩れが発生した!

スクリーンショット

:computer:環境
・WordPressバージョン:6.2.2
・ブラウザ:Google Chrome

対応内容

Chromeのキャッシュを削除してみる

① Chromeのウィンドウ内右上「⁝」>「設定」の順に押下

② サイドメニュー内「プライバシーとセキュリティ」を押下

③ 「閲覧履歴データの削除」を押下

④ 「閲覧履歴」「Cookieと他のサイトデータ」「キャッシュされた画像とファイル」のチェックボックス全てにチェックを入れる

⑤ 「データを削除」ボタンを押下

⑥ 当該ページをリロードする

→事象解消できず:sweat_drops:

DirectoryIndexディレクティブを設定する

公式ドキュメントの下記を参照

① wordpressディレクトリ直下にある.htaccessファイルを編集

② 下記を追記する

<IfModule dir_module>
  DirectoryIndex index.php
</IfModule>

→事象解消できた!:v_tone1:

スクリーンショット

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0