Posts

Showing posts from June, 2012

SharePoint SEO friendly navigation

I recently started working with SharePoint 2010 for Internet site.  One of the most important elements for the Internet site is being SEO (Search Engine Optimization) friendly.  We all know that SharePoint by default doesn't render the navigation in a very SEO friendly way.  It's table with table with table ... In SharePoint 2010, there is a way to change that with one simple property.  It's UseSimpleRendering for SharePoint:ASPMenu control.  All you have to is to turn this property to true and SharePoint will render the top navigation in format of <ul>  and <li> instead of tables.  The HTML markup is so much smaller in size and SEO friendly.   To make it look nice, you'll have override a set of css classes for get the look and feel that you need. You can find more information here, http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.aspmenu.usesimplerendering.aspx.