サブディレクトリ(/wp/)にインストールしたwordpressをドメイン直下にしたら
サイト自体は正常に引越しできたのですが
管理画面の固定ページ一覧が見れなくなりました
【エラー内容】
500 error
Internal Server Error
CGIもしくはSSIが正しく動作していません。
【試したこと】
.htaccessファイルを下記内容にした
BEGIN WordPress
BEGIN WordPress
から END WordPress
までのディレクティブ (行) は
動的に生成され、WordPress フィルターによってのみ修正が可能です。
これらのマーカー間にあるディレクティブへのいかなる変更も上書きされてしまいます。
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wp/ RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wp/index.php [L] Options +SymLinksIfOwnerMatch </IfModule>END WordPress
index.phpを下記内容にした
<?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define( 'WP_USE_THEMES', true ); /** Loads the WordPress Environment and Template */ require( dirname( __FILE__ ) . '/wp/wp-blog-header.php' );あなたの回答
tips
プレビュー