ルートディレクトリにWPマルチサイトをインストールしました。現在、Invision PowerのIPコンテンツを使用してこのディレクトリで実行されているサイトがありますが、wordpressに対応するためにindex.phpファイルの名前を変更しました。/forumでIPボードを実行しています。
ワードプレスページ(domain.tld/sample-page/)を作成しましたが、そこに移動すると見つかりません(ランディングページはWPではありませんが、IPコンテンツに「探しているページが見つかりませんでした)私のサイトはWPの前にIPコンテンツデータベースを調べているようです。そのため、/ sample-page /が存在せず、WPデータベースにのみ存在するため、自身のデータベースでページ/ディレクトリを見つけることができません。
domain.com/index.php(WPブログが表示されるはずです)にアクセスすると、www.domain.comのホームIPコンテンツページにリダイレクトされます。
どうすればこのようなことについてWPデータベースを見ることができますか?
私の.htaccessファイル:
# Loads home.php first (ip.content). Wordpress is index.php
DirectoryIndex home.php index.php index.html maintenance.html
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !.*\.(jpeg|jpg|gif|png|ico)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /home.php [L]
</IfModule>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# Multisite
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
# Multisite
# END WordPress