Php Wordpress多站点错误-将ip更改为域后
我想使我的开发网站与我的领域生活。因此,我改变了ip开发的领域 更改后,我的网站无法打开:Php Wordpress多站点错误-将ip更改为域后,php,wordpress,Php,Wordpress,我想使我的开发网站与我的领域生活。因此,我改变了ip开发的领域 更改后,我的网站无法打开: Access forbidden! You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please c
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
ddmc.co.id
Apache/2.4.39 (Win64) OpenSSL/1.1.1b PHP/7.3.4
服务器:本地服务器
web服务器:xampp
WP\u选项
siteurl: ddmc.co.id
home: ddmc.co.id
WP\u站点
domain: ddmc.co.id
path: /
WP\u SITEMETA
siteurl: ddmc.co.id
WP\u博客
domain: ddmc.co.id path:/
domain: ddmc.co.id path:/id/
wp config.php
define('WP_ALLOW_MULTISITE', true);
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'ddmc.co.id');
define('PATH_CURRENT_SITE','/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT', 1);
define('WP_MEMORY_LIMIT', '512M');
htaccess
# BEGIN WordPress
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]
# END WordPress
<Directory "c:/xampp/htdocs/hcml">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
Require all granted
</Directory>
htpd vhosts
# BEGIN WordPress
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]
# END WordPress
<Directory "c:/xampp/htdocs/hcml">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
Require all granted
</Directory>
选项索引跟随符号链接多视图
允许超越所有
命令拒绝,允许
通融
要求所有授权
感谢您的好意帮助。改变这一点:
define('SUBDOMAIN_INSTALL', false);
致: