Child document redirects to parent

Digital Team asked on April 4, 2016 18:28

Hello, I have a problem where a Child (custom doc type) redirects to parent (CMS.PAGE) path:

When entering this path into the Browser: /Collections/Exhibitor-list/XXXXXX.aspx -> it will redirect to /Collections/Exhibitor-list.aspx

There are no redirection rules in IIS or in Kentico Documents, I also created a different document type and it works. Both, child document use the same inherit template from parent document, but there are no redirection rules in the template either.

All the configurations in the document seems correct, and it shows the correct Live URL.
I've already looked everywhere, even in the doc type options but i'm getting out of clues. I'm using kentico 7 latest hotfix.

Thanks in advantage

Recent Answers


Brenden Kehren answered on April 4, 2016 18:39

Check to see if you have a page alias in either of the pages. You can find this under the Page Properties>URLs>Page aliases

1 votesVote for this answer Mark as a Correct answer

Laura Frese answered on April 4, 2016 23:23

Also if you have any Redirect modules installed in Kentico, check that too.

0 votesVote for this answer Mark as a Correct answer

Digital Team answered on April 5, 2016 10:27 (last edited on April 5, 2016 10:44)

I've deleted all the aliases from parent and child and still the same. There are no Redirect modules installed, just default ones.

While checking options, I came to the following: If I go to Document -> Template -> Inherit Content -> Select inherited levels and check all except root level it will not redirect, but it won't show the layout of the page either, just the document's html.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on April 5, 2016 14:19

Is the /Collections/Exhibitor-list/XXXXXX.aspx page actually in the content tree or is it a dynamically created page, meaning there is an alias or URL parameter to display the XXXXXX exhibitor? You might also check the Properties>Navigation tab for that XXXXXX exhibitor, it might have a redirect set on it already.

0 votesVote for this answer Mark as a Correct answer

Digital Team answered on April 5, 2016 15:13

The exhibitor page exists and it has a path assigned to it: Alias path: /Collections/Exhibitor-list/10-IS Culture: English - United Kingdom Name path: /Collections/Exhibitor list/10 IS Live URL: /Collections/Exhibitor-list/10-IS.aspx Published: Yes

Navigation -> Menu action is set to Standard behavior

Another clue I discovered while testing: When moving the Exhibitor elsewhere it still redirects to the parent document, even if the parent document is different from exhibitor-list. But it won't redirect if the exhibitor is placed as a direct child of the tree root.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on April 5, 2016 17:03

Then there must be something attached to that page, you might check the page template or the content on the page to see that there isn't any kind of javascript doing the redirect.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.