Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 4.x > Installation and deployment > Circular URL redirection View modes: 
User avatar
Member
Member
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

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 4/15/2009 5:22:11 AM
   
RE:Circular URL redirection
Hi,

When I have tried to reproduce your issue, I am getting 404 error when trying to access the sub items. So the loop is strange.

Moreover, there is no configuration for inheritance the redirection. You need to set it manually for each item.

Best Regards,
Juraj Ondrus