Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/.htaccess/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Wordpress 将Bluehost子域重定向到Plesk子域_Wordpress_.htaccess_Plesk_Bluehost_Mediatemple - Fatal编程技术网

Wordpress 将Bluehost子域重定向到Plesk子域

Wordpress 将Bluehost子域重定向到Plesk子域,wordpress,.htaccess,plesk,bluehost,mediatemple,Wordpress,.htaccess,Plesk,Bluehost,Mediatemple,我的客户的域名和服务器遍布Media Temple和Bluehost,所以我不确定最好的方法。他们在Bluehost上注册了一个域名,但我需要把它指向Plesk上的一个子目录。我的网络经验有限-我不知道如何访问IP地址或安装了子域文件的子目录 例如,在Bluehost上,我注册了dev.example.com,在父域的Plesk上安装了WordPress,地址是/httpdocs/dev,我需要将dev.example.com指向父域/httpdocs/dev.正确且最简单的方法是在订阅中创建新

我的客户的域名和服务器遍布Media Temple和Bluehost,所以我不确定最好的方法。他们在Bluehost上注册了一个域名,但我需要把它指向Plesk上的一个子目录。我的网络经验有限-我不知道如何访问IP地址或安装了子域文件的子目录


例如,在Bluehost上,我注册了dev.example.com,在父域的Plesk上安装了WordPress,地址是/httpdocs/dev,我需要将dev.example.com指向父域/httpdocs/dev.

正确且最简单的方法是在订阅中创建新的域dev.example.com,并指向“文档根”至httpdocs/dev

!!这里有重要提示

在其他一些非空的测试文件夹上测试它,因为文件夹的内容可能被删除