简体   繁体   中英

magento with wordpress in subdirectory htaccess issue

I've been given the dubious honour of taking over a customers magento sites and moving them to a new server.

The sites has wordpress installed in a sub directory of of magento (magento is in / and wordpress in /blog/wordpress)

The problem is the default magento htaccess catches the wordpress URL's because it's designed to catch anything that isn't a file..

Is there a way to bypass this action in magento's htaccess, so that the wordpress htaccess can go its thing?

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

上面的htaccess规则在其他规则看来都没有起作用之前就应用了!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM