Steve-Appetere
-
4/14/2009 9:15:54 AM
Circular URL redirection
I have a problem using the redirection function which results in an endless circular redirection:
CMS Desk -> Properties -> Menu -> URL Redirect
As an example:
My starting point was a Blog, with a structure like:
Root -BlogName1 --BlogMonth1 ---BlogPost1 ---BlogPost2
I want to change this to:
Root -BlogsPage --BlogName2 (renamed from BlogName1) ---BlogMonth1 ----BlogPost1 ----BlogPost2
In order that anyone already bookmarking the blog posts can still access them with the original URL, in the new structure I also created a new Menu Item that redirects to the new location:
Root -BlogName1 (URL redirection points to BlogName2 ) -BlogsPage --BlogName2 ---BlogMonth1 ----BlogPost1 ----BlogPost2
If in the browser, I enter:
http://www.appetere.com/BlogName1.aspx this redirects as expected to http://www.appetere.com/BlogsPage/BlogName2.aspx
BUT! If I enter the URL to a blog post:
http://www.appetere.com/BlogName1/BlogMonth1/BlogPost1.aspx
this then causes an endless circular redirection, with the browser eventually reporting the error.
Is there a way of configuring the redirection so that sub-directories & child pages are correctly handled?
Thanks for any advice
Steve
|