Today, I was doing some branding for Publishing site, which is migrated from PHP/HTML using custom code.
When I enabled the breadcrumb on pages (obviously we used our own custom page layouts), the “pages” and “.aspx” in the filename is kind of annoying. Initially I thought of removing this by adding javascript/jquery on page.
But I keep thinking that, it shouldn’t be the best way to do this.
Then I found that changing SiteMapProvider property for Bread Crumb in Master Page from “SPContentMapProvider” to “CurrentNavSiteMapProviderNoEncode”, did the magic.
Now My Sitemap looks like below:



Popular Articles