index.html とindex.phpの共存 wp4
-
ご教示くださいませ。
ホームページをリニューアルさせたいのですが、
wpが完成するのではindex.html(既存)で表示させたいのです。
ググったところ、wp-includes/cononical.phpを下記のように修正すると良いと書いてありました// trailing /index.php
$redirect[‘path’] = preg_replace(‘|/’ . preg_quote( $wp_rewrite->index, ‘|’ ) . ‘/*?$|’, ‘/’, $redirect[‘path’]);
↓
// trailing /index.php
// $redirect[‘path’] = preg_replace(‘|/’ . preg_quote( $wp_rewrite->index, ‘|’ ) . ‘/*?$|’, ‘/’, $redirect[‘path’]);
でコメントアウトとなっておりましたので、実施しましたら、
index.php の表示が真っ白になり見えません。
いかがしたらindex.html も index.phpも見れるようになるのでしょうか?
ご指導のほど宜しくお願いいたします。m(__)m
2件の返信を表示中 - 1 - 2件目 (全2件中)
2件の返信を表示中 - 1 - 2件目 (全2件中)
- トピック「index.html とindex.phpの共存 wp4」には新たに返信することはできません。