Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
magento中的URL重定向_Url_Url Rewriting_Url Redirection - Fatal编程技术网

magento中的URL重定向

magento中的URL重定向,url,url-rewriting,url-redirection,Url,Url Rewriting,Url Redirection,我在woo commerce有一个网站example.com。因此创建了一个URLexample.com/shop 现在我已经转到Magento 1.9.3.2,因为URL不存在。 因此,我使用了magento admin的URL重写,将example.com/shop重定向到example.com/,但它的不起作用。但是它的工作原理是这样的example.com/index.php/shop到example.com/ 我的问题是如何将example.com/shop重定向到example.co

我在woo commerce有一个网站example.com。因此创建了一个URLexample.com/shop

现在我已经转到Magento 1.9.3.2,因为URL不存在。 因此,我使用了magento admin的URL重写,将example.com/shop重定向到example.com/,但它的不起作用。但是它的工作原理是这样的example.com/index.php/shopexample.com/

我的问题是如何将example.com/shop重定向到example.com/而不是example.com/index.php/shopexample.com/


请帮我解决这个问题。我也为此尝试了太多htaccess代码,但它们不起作用。

显示您的htaccess代码。对于当前使用此代码重写,先前的代码将被删除。^/shop/*$