查找链接缺少正斜杠/这可能导致它找不到正确的文件
/.索引。php
<?php
define(\'WP_USE_THEMES\', true);
require( dirname( __FILE__ ) . \'/web/wp-blog-header.php\' );
/网站/索引。php
<?php
define(\'WP_USE_THEMES\', true);
require( dirname( __FILE__ ) . \'/wp-blog-header.php\' );
/。htaccess(与/web/.htaccess相同)
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /web/
RewriteRule ^index\\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /web/index.php [L]
</IfModule>
# END WordPress
/web/wp配置。php(删除您拥有的内容,并将其替换为That’s all部分的正上方)
define(\'WP_CONTENT_FOLDERNAME\', \'media\');
define(\'WP_CONTENT_DIR\', ABSPATH . WP_CONTENT_FOLDERNAME );
define(\'WP_CONTENT_URL\', \'http://\' . $_SERVER[\'HTTP_HOST\'] . \'/\' . WP_CONTENT_FOLDERNAME );
/*仅此而已,停止编辑!快乐的博客*/