为了对这个问题的答案感兴趣的人,我在这里发布了我在WordPress.org support forums.
leejosepho 优雅地回答如下:
是的,这是可能的。保存\'http://dem0site.net\' 在Dashboard>Settings>General(仪表板>设置>常规)的两个框中,cPanel将您的域分配并-指向public\\u html,并使用此htaccess将其重定向到“wp-org-01”(或任何位置):
# .htaccess main domain to subdirectory redirect
# Do not change this line.
RewriteEngine on
# Change example.com to be your main domain.
RewriteCond %{HTTP_HOST} ^(www.)?example.com$
# Change \'subdirectory\' to be the directory you will use for your main domain.
RewriteCond %{REQUEST_URI} !^/subdirectory/
# Don\'t change the following two lines.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Change \'subdirectory\' to be the directory you will use for your main domain.
RewriteRule ^(.*)$ /subdirectory/$1
# Change example.com to be your main domain again.
# Change \'subdirectory\' to be the directory you will use for your main domain
# followed by / then the main file for your site, index.php, index.html, etc.
RewriteCond %{HTTP_HOST} ^(www.)?example.com$
#RewriteRule ^(/)?$ subdirectory/index.html [L]
## index.php for WordPress
RewriteRule ^(/)?$ subdirectory/index.php [L]
访问您网站的访问者将无法判断您的主域正在使用子目录,他们仍会看到网站地址
http://www.example.com/...
https://my.bluehost.com/cgi/help/347#redirect