magento与wordpress在子目录htaccess问题


magento with wordpress in subdirectory htaccess issue

我获得了一个可疑的荣誉,接管了客户的magento网站,并将其转移到一个新的服务器上。

这些网站在magento的子目录中安装了wordpress(magento在/中,wordpress在/blog/wordpress中)

问题是默认的magento-htaccess捕获wordpress URL,因为它被设计用来捕获任何不是文件的东西。。

在magento的htaccess中有没有办法绕过这个动作,这样wordpress htaccess就可以为所欲为了?

RewriteRule ^(blog|wordpress)($|/) - [L]

在任何其他规则之前应用的上述htaccess规则似乎都有效!