I had a site running in Umbraco 3 that used an umbracoRedirect property. In version 3, the URL was shown like this: www.home.com/english/page.aspx but now on version 4 the URL is being shown as www.home.com/page.aspx, even though it is still under a node called 'english'. This throws off any hard coded urls. Is there any way to change the umbracoRedirect to show the URLs as it did in version 3?
the umbracoUrlName document type property defines the url. if you specify english/page the url will be <domain>/english/page.aspx
the umbracoUrlAlias document type property defines alternatives for the url. if you specify test/test ; bla/page, the page will be reachable under <domain>/bla/page.aspx and <domain>/test/test.aspx
Hard coded url are not a good idea in general. Better to replace them with {localLink:(nodeID)}. E.g. href={localLink:1258}
umbracoRedirect?
Hi Everyone,
I had a site running in Umbraco 3 that used an umbracoRedirect property. In version 3, the URL was shown like this: www.home.com/english/page.aspx but now on version 4 the URL is being shown as www.home.com/page.aspx, even though it is still under a node called 'english'. This throws off any hard coded urls. Is there any way to change the umbracoRedirect to show the URLs as it did in version 3?
Thanks for any help
Hi,
Are the setting for umbracoHideTopLevelNodeFromPath (in web.config) the same in both installs?
Cheers,
/Dirk
the umbracoUrlName document type property defines the url. if you specify english/page the url will be <domain>/english/page.aspx
the umbracoUrlAlias document type property defines alternatives for the url. if you specify test/test ; bla/page, the page will be reachable under <domain>/bla/page.aspx and <domain>/test/test.aspx
Hard coded url are not a good idea in general. Better to replace them with {localLink:(nodeID)}. E.g. href={localLink:1258}
HTH
is working on a reply...