I have a website with different sections that have their own hostname assigned to them (multiple sites in one umbraco instance). These different sections are always visible in a "level 0" top navigation. Lets call it a sort of portal like website.
My problem right now is that i can target the same pages from all the domains. Example:
Gallery page on the correct domain would be:
www.website1.com/gallery.aspx but this is available through i.e. www.website2.com/website1/gallery.aspx
I could fix it with 301's, but that's not very automatic :/
The pages are build kinda strangely to get the "Frontpage" link on the same level as the level 1 nodes. I didn't know better navigation xslt back when i made it (my first umbraco site):
Domain 1 (frontpage node redirects to first child which is called Frontpage) - Frontpage - Etc
Domain 2 (frontpage node redirects to first child which is called Frontpage) - Frontpage
- Etc
Domain 3 (frontpage node redirects to first child which is called Frontpage) - Frontpage
- Etc
Is there a way to set the hrefs of the level 0 nodes equal to their hostname record (www.domain.com) through instead of /nodename.aspx.
Use node hostnames as navigation hrefs
Hi there
I have a website with different sections that have their own hostname assigned to them (multiple sites in one umbraco instance). These different sections are always visible in a "level 0" top navigation. Lets call it a sort of portal like website.
My problem right now is that i can target the same pages from all the domains. Example:
Gallery page on the correct domain would be:
www.website1.com/gallery.aspx but this is available through i.e. www.website2.com/website1/gallery.aspx
I could fix it with 301's, but that's not very automatic :/
The pages are build kinda strangely to get the "Frontpage" link on the same level as the level 1 nodes. I didn't know better navigation xslt back when i made it (my first umbraco site):
Domain 1 (frontpage node redirects to first child which is called Frontpage)
- Frontpage
- Etc
Domain 2 (frontpage node redirects to first child which is called Frontpage)
- Frontpage
- Etc
Domain 3 (frontpage node redirects to first child which is called Frontpage)
- Frontpage
- Etc
Is there a way to set the hrefs of the level 0 nodes equal to their hostname record (www.domain.com) through instead of /nodename.aspx.
Hi Martin,
This was a known bug which was fixed in the latest release of Umbraco 4.6.1
We had the same issue and by upgrading it fixed it :)
Cheers,
Chris
Hi Chris
I'm so afraid to upgrade - all evil on earth will come down upon me :D
Oh well i have no way around it then i guess, thank god for localhost :-)
Wait for 4.6.2 before upgrading...
Hi Christer,
Just wonder why you've recommended that? Have you found any specific breaking changes in 4.6.1?
Cheers,
Chris
Not really, but isnĀ“t it just around the corner???
is working on a reply...