无法访问我的Magento文件夹中的Magmi子文件夹 [英] Can't access to my Magmi subfolder in my Magento folder

查看:112
本文介绍了无法访问我的Magento文件夹中的Magmi子文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Magmi导入/导出产品,但是当我访问Magmi子文件夹(www.mysite.com/magmi/web/magmi.php)时,始终会将我重定向到我的主页.如果我重命名-删除-移动-关闭magento主文件夹.htaccess文件,则可以访问我的Magmi子文件夹.有人可以帮助我如何在不打开主要.htaccess文件的情况下访问Magmi子文件夹吗?

I useing Magmi to import/export products, but when I visit my Magmi subfolder (www.mysite.com/magmi/web/magmi.php) is allways redirect me to my homepage. If I rename - delete - move - turn off the magento main folder .htaccess file I can access to my Magmi subfolder. Can somebody help me please how I can visit the Magmi subfolder without turning of the main .htaccess file?

推荐答案

RewriteBase行之后的Magento的.htaccess中添加以下规则:

Inside your Magento's .htaccess just after RewriteBase line add this rule:

RewriteRule ^magmi/ - [L,NC]

这将跳过Magento对/magmi/ URI的重写处理.

This will skip Magento's rewrite handling for /magmi/ URIs.

这篇关于无法访问我的Magento文件夹中的Magmi子文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆