Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sean Dooley 289 posts 528 karma points
    Oct 26, 2011 @ 16:19
    Sean Dooley
    0

    Internal Redirect Loop

    Trying to implement the following site structure, but experiencing redirect issues.

    Brief description about the site structure

     

    • the site is split into different departments
    • each department has its own settings, a home page and a redirect page to other departments

     

    Content
    > Site Settings
    >> en (redirect to department A - works)
    >>> department A (specific department settings | redirect to first child node)
    >>>> home
    >>>> page (redirect to department B - infinite loop)
    >>> department B (specific department settings | redirect to first child node - infinite loop)
    >>>> home
    >>>> page (redirect to department A)

    Tried redirecting Department A | Page to Department B and Department B | Home using umbracoRedirect and umbracoInternalRedirectId with no luck.

    Would be grateful for any help

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Oct 26, 2011 @ 22:27
    Jan Skovgaard
    0

    Hi Sean

    So what is supposed to happen where? :)

    Are you trying to make internal redirects in Umbraco or are you trying to make redirects on the website?

    And what version of Umbraco are you using?

    /Jan

  • Sean Dooley 289 posts 528 karma points
    Oct 27, 2011 @ 11:43
    Sean Dooley
    0

    Hi Jan

    Thought might be bit confusing - will try again

    Site Settings | en redirects to Department A - this works

    I need a page in Department A's navigation to redirect to Department B, and vice versa - this doesn't work

    Not sure why - any ideas?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Oct 28, 2011 @ 23:55
    Jan Skovgaard
    0

    Hi Sean

    Hmm ok...I'm not sure why you are using the umbracoInternalRedirectId property?

    What happens if you only make a redirect using the umbracoRedirect property from department a to department b node, without doing a redirect from department b to deparment a node? Does this still keep looping?

    Maybe you should look into using the redirect datatype, which ships with uComponents? (It's using 301 redirect instead of 302 redirect, which is what the umbracoRedirect is using).

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft