How to find out why umbracoInternalRedirectId isn't firing
Hi,
I have a well established english website with typical content structure, home node in the root, nested content folders underneath. There's now a requirement to generate a Chinese language version of the site, but currently only with one page. This one page needs to resemble an internal page of the English site rather than the homepage.
So, rather than restructure or recreate the document types specifically for the new site, what I've done is copy the English site, renaming the home node to 'Home (cn)'. I've then deleted all internal content nodes from the Chinese site except one page, which should be the page that's rendered as the homepage. I've then put a property on the home document type called 'umbracoInternalRedirectId' to load the internal content page effectively as the Chinese homepage. The client may change this in future as the Chinese site grows - in which case it'll use the proper homepage as the homepage and will replicate the structure of the English site - but for now it seems a reasonably sensible approach.
The problem is, when I call the Chinese homepage (via http://www.example.com/home-(cn).aspx', it just loads in the homepage rather than the content from the internal redirect page.
I've republished all from the top content node, but no joy. Does anyone know why this might not be working, or what I can do to check what's causing the issue? I tried an 'umbracoRedirect' property but that is documented as not working on home nodes, which is where I picked up the pointer of using umbracoInternalRedirectId instead.
I've actually done this a different (/better) way now. Created a usercontrol which does a 301 redirect, created a template to call this usercontrol via a macro taking the redirect node id as a parameter, used this template on the Chinese homepage, so it now 301 redirects rather than doing any umbraco redirecting.
How to find out why umbracoInternalRedirectId isn't firing
Hi,
I have a well established english website with typical content structure, home node in the root, nested content folders underneath. There's now a requirement to generate a Chinese language version of the site, but currently only with one page. This one page needs to resemble an internal page of the English site rather than the homepage.
So, rather than restructure or recreate the document types specifically for the new site, what I've done is copy the English site, renaming the home node to 'Home (cn)'. I've then deleted all internal content nodes from the Chinese site except one page, which should be the page that's rendered as the homepage. I've then put a property on the home document type called 'umbracoInternalRedirectId' to load the internal content page effectively as the Chinese homepage. The client may change this in future as the Chinese site grows - in which case it'll use the proper homepage as the homepage and will replicate the structure of the English site - but for now it seems a reasonably sensible approach.
The problem is, when I call the Chinese homepage (via http://www.example.com/home-(cn).aspx', it just loads in the homepage rather than the content from the internal redirect page.
I've republished all from the top content node, but no joy. Does anyone know why this might not be working, or what I can do to check what's causing the issue? I tried an 'umbracoRedirect' property but that is documented as not working on home nodes, which is where I picked up the pointer of using umbracoInternalRedirectId instead.
Thanks y'all!
I've actually done this a different (/better) way now. Created a usercontrol which does a 301 redirect, created a template to call this usercontrol via a macro taking the redirect node id as a parameter, used this template on the Chinese homepage, so it now 301 redirects rather than doing any umbraco redirecting.
is working on a reply...