Azure部署wordpress站点查看权限错误

Azure部署wordpress站点查看权限错误,wordpress,azure,Wordpress,Azure,我们在www.roburir.com上有一个azure托管站点(内置asp) 我想在url www.roburir.com/articles上添加一个wordpress站点 已在以下位置创建并成功部署wordpress站点: 然后在web.config文件中编写重写代码: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite&

我们在www.roburir.com上有一个azure托管站点(内置asp)

我想在url www.roburir.com/articles上添加一个wordpress站点

已在以下位置创建并成功部署wordpress站点:

然后在web.config文件中编写重写代码:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>


    <rewrite>
      <rules>
        <rule name="SEOAzureRewrite" stopProcessing="true">
          <match url=".*" />
          <conditions>
            <add input="{HTTP_HOST}" pattern="^robur-articles.azurewebsites.net$" />
          </conditions>
          <action type="Redirect" url="http://www.roburir.com/articles{R:0}" redirectType="Permanent" />
        </rule>
      </rules>
    </rewrite>
  </system.webServer>
</configuration>

此重定向有效,但我收到404错误和消息:

您没有查看此目录或页面的权限

尝试将webconfig移动到不同的文件夹,但仍然没有乐趣


任何帮助都将不胜感激。干杯

您需要在www.roburir.com网站上创建一个虚拟目录“articles”,然后将WordPress网站部署到其中

您可以按照本文了解该方法的完整描述:

@DavidOak请您将此标记为已接受的答案,因为它对您有效。谢谢