krisleech
04-05-2005, 05:47 AM
I have setup a perm 301 redirect from one folder (Shop) to another (NewShop). The orignal folder which has my shopping cart in has the .htacess file which contains:
Redirect permanent / http://www.mydomain.com/shop/NewShop/products.php
I upload this to the old shopping carts folder, http://www.mydomain.com/shop/Shop. But when i try and access this folder I get redirected to:
http://www.mydomain.com/shop/NewShop/products.phpshop/Shop/
In other words the redirect works accept it adds the old folder (shop/Shop/) to the end of the URL?!?
The filename is added to the URL as well if you try and access a file in the old folder.
Can anyone help solve this?
Redirect permanent / http://www.mydomain.com/shop/NewShop/products.php
I upload this to the old shopping carts folder, http://www.mydomain.com/shop/Shop. But when i try and access this folder I get redirected to:
http://www.mydomain.com/shop/NewShop/products.phpshop/Shop/
In other words the redirect works accept it adds the old folder (shop/Shop/) to the end of the URL?!?
The filename is added to the URL as well if you try and access a file in the old folder.
Can anyone help solve this?