在 Wordpress 文件夹中打开购物车
Open Cart inside Wordpress folder
我有一个现有的 IIS 服务器,其中:
我在目录中有一个 现有的打开的购物车网站 { example-url : abcd.com/open-cart-website/ }.
现在我已经用 wordpress 网站更新了我的主要网站。所以现在我在 abcd.com/ 中安装了 wordpress & 在 abcd 中安装了 opencart。com/open-cart-website/ .
我 根本无法更改 opencart 网站 url 因为它有现有的 PPC 和 SEO。
Opencart 的索引页面是可访问的,但打开购物车网站上其他页面的 none 是可访问的,而是显示来自 wordpress 的错误 404。
需要帮助!!!
我在我的 wordpress 网站 web.config 中写下了一些规则,现在它们都可以使用了。
这是规则,可能对其他开发者有帮助。
<rule name="Main Rule" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_URI}" negate="true" pattern="^/open-cart-website/*" ignoreCase="false" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule>
<rule name="Main Rule1" stopProcessing="true">
<match url="^([^?]*)" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_URI}" negate="false" pattern="^/open-cart-website/*$" ignoreCase="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" appendQueryString="true" />
</rule>
我有一个现有的 IIS 服务器,其中:
我在目录中有一个 现有的打开的购物车网站 { example-url : abcd.com/open-cart-website/ }.
现在我已经用 wordpress 网站更新了我的主要网站。所以现在我在 abcd.com/ 中安装了 wordpress & 在 abcd 中安装了 opencart。com/open-cart-website/ .
我 根本无法更改 opencart 网站 url 因为它有现有的 PPC 和 SEO。
Opencart 的索引页面是可访问的,但打开购物车网站上其他页面的 none 是可访问的,而是显示来自 wordpress 的错误 404。
需要帮助!!!
我在我的 wordpress 网站 web.config 中写下了一些规则,现在它们都可以使用了。 这是规则,可能对其他开发者有帮助。
<rule name="Main Rule" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_URI}" negate="true" pattern="^/open-cart-website/*" ignoreCase="false" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule>
<rule name="Main Rule1" stopProcessing="true">
<match url="^([^?]*)" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_URI}" negate="false" pattern="^/open-cart-website/*$" ignoreCase="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" appendQueryString="true" />
</rule>