I want so when someone goes to mysite.com/menuitem1/ I want them to go directly to Child 1. Currently I'm setting a property alias umbracoRedirect on the Menu Item 1 document type. However, this is doing a 302 redirect and I'd rather not have any redirect.
You could try using the umbracoInternalRedirectId property instead, which should transparently load the content from the page you select into the current page. However I recall there might be issues with this in regards to macros (?), haven't really used it though so I'm not sure.
The better option might be to have your navigation menus write out the link to Child1 directly, this would probably be better for SEO also rather than having duplicate content and redirects going on.
You could do this for all links in your navigation xslt or add a property to the page like umbracoRedirectToChild. I did something similar in a recent project where some top-level menu items were unclickable, only child items could be clicked.
Declaring the default page in node
So I have the following schema:
Hi,
You could try using the umbracoInternalRedirectId property instead, which should transparently load the content from the page you select into the current page. However I recall there might be issues with this in regards to macros (?), haven't really used it though so I'm not sure.
The better option might be to have your navigation menus write out the link to Child1 directly, this would probably be better for SEO also rather than having duplicate content and redirects going on.
You could do this for all links in your navigation xslt or add a property to the page like umbracoRedirectToChild. I did something similar in a recent project where some top-level menu items were unclickable, only child items could be clicked.
-Tom
is working on a reply...