Site structure
Version 4.x > Site structure > Show homepage in menu without adding an extra document View modes: 
User avatar
Member
Member
random0xff - 5/13/2009 4:11:44 PM
   
Show homepage in menu without adding an extra document
It is my understanding that you have to create a page for your homepage in order for it to show up in the navigation on the first level. But then that link in your navigation points to the alias path of that document (usually /home.aspx) instead of the actual root of your website.

Corporate Site ASPX
- Home <<<<< Is this one necessary?
- Page
- Page

Thanks for explaining!

User avatar
Member
Member
random0xff - 5/18/2009 7:21:14 AM
   
RE:Show homepage in menu without adding an extra document
No answer for 5 days, does this mean it is not possible?

I tried some things using the CMSListMenu control, but I can't get a link to the / document without creating a /Home document.

I noticed that the Kentico homepage has this problem too:

http://www.kentico.com/Default.aspx
http://www.kentico.com/Home.aspx

Do you know this is bad for SEO, as well as bookmarking and content duplication?

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 5/25/2009 5:31:57 AM
   
RE:Show homepage in menu without adding an extra document
Hello,

You could eventually clear the 'default alias path' field in settings and instead of that add following URL into 'Content -> Properties -> Menu -> URL redirection' field for root node: ~/home.aspx

You could also use RenderedHTML property of menu control placed in the web part to change the HTML code generated by web part as you need (e.g. replace link to home page with link to root).

Best Regards,

Martin Dobsicek

User avatar
Member
Member
eyesea69-gmail - 6/14/2009 5:21:01 PM
   
RE:Show homepage in menu without adding an extra document
kentico_martind wrote: Hello,

You could eventually clear the 'default alias path' field in settings and instead of that add following URL into 'Content -> Properties -> Menu -> URL redirection' field for root node: ~/home.aspx

k


Clear the 'default alias path' field in which settings?

User avatar
Kentico Support
Kentico Support
kentico_radekm - 6/17/2009 12:56:01 PM
   
RE:Show homepage in menu without adding an extra document
Hello.

You can find this property in Site Manager -> Settings -> select site from drop-down menu -> Web site -> Default alias path.

Best Regards,
Radek Macalik

User avatar
Member
Member
WavyDavy - 7/13/2009 7:12:28 PM
   
RE:Show homepage in menu without adding an extra document
kentico_martind wrote: add following URL into 'Content -> Properties -> Menu -> URL redirection' field for root node: ~/home.aspx


Thanks for the advice.

Where do I find this?

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 7/14/2009 3:05:11 AM
   
RE:Show homepage in menu without adding an extra document
Hello,

you may find it in document Properties. Please go to CMSDesk -> Content -> select the node and there is a Properties tab in the right frame. Then find Menu -> URL redirection.

Best regards,
Helena Grulichova

User avatar
Member
Member
WavyDavy - 7/14/2009 8:03:28 PM
   
RE:Show homepage in menu without adding an extra document
kentico_helenag wrote:
you may find it in document Properties. Please go to CMSDesk -> Content -> select the node and there is a Properties tab in the right frame. Then find Menu -> URL redirection.


Thank you for taking the time to reply

Which node do I select, the corporate site or homepage node?

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 7/14/2009 8:37:42 PM
   
RE:Show homepage in menu without adding an extra document
Hi,

select the "Corporate site" node, because the URL redirection needs to be set there, not in homepage node.

Regards,
Zdenek C.

User avatar
Member
Member
danielrae - 11/30/2010 9:51:39 AM
   
RE:Show homepage in menu without adding an extra document
Hello,

I'm using Kentico 5.5 and also want to remove the "top level" (level 1) navigation from the tree view menu. Changing the "Default alias path" in Site Manager and also changing the URL redirection field in CMS Desk didn't remove it.

Did anyone find an answer to this question?

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 11/30/2010 10:57:46 AM
   
RE:Show homepage in menu without adding an extra document
Hi,

Do you mean to have the structure without root node (with site name) in CMSDesk in content tree?

Current design allows only to have the tree restricted to specific path using "Starting alias path" setting for particular User.
Setting URL redirection in CMSDesk for the page (menu item) won't change this.


Regards,
Zdenek C.

User avatar
Member
Member
danielrae - 12/2/2010 2:14:56 PM
   
RE:Show homepage in menu without adding an extra document
I'm still unsure how to show "Home" in the main menu, using the Corporate Site Theme for example. I've ticked "show in navigation" from Corporate Site > Properties > Menu but it doesn't show.

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 12/13/2010 9:48:54 AM
   
RE:Show homepage in menu without adding an extra document
Hi,

Well, it's important to understand the current design and also what exactly you want to achieve. Root and Home nodes are different nodes in Kentico CMS, and if you wish to display "Home" in menu, ensure that "Show in menu/navigation" is enabled for Home node (that's present in sample Corporate Site), not for root node.

Another thing is to have the home node with url matching the main domain - like "www.mydomain.com". It is possible to achieve that using several steps (redirection, web.config setting, etc.), depending on the IIS version you're using.

Does it make sense?

Regards,
Zdenek