Breadcrumbs Default.aspx
Breadcrumbs Default.aspx
the "home" link in the breadcrumb trails are all pointing to "http://www.mysite.com/Default.aspx". How would I get that to point to http://www.mysite.com" (SEO says I need to lose the default.aspx)
Bryan Bundgaard
AC7 User http://www.SchoolSupplyStore.com
AC7 User http://www.SchoolSupplyStore.com
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
Re: Breadcrumbs Default.aspx
Hello,
I'm not positive this is the correct file, but it looks right.
/Web.sitemap (in the root of your store).
Try changing it to:
I'm not positive this is the correct file, but it looks right.
/Web.sitemap (in the root of your store).
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="~/Default.aspx" title="Home" description="Home page">
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="~/" title="Home" description="Home page">
Re: Breadcrumbs Default.aspx
That did not seem to fix the CategoryGridPage breadcrumb issue. It appears that the change needs to be made in the CategoryBreadCrumbs.ascx but I could be wrong on that as I am not seeing anything obvious.
Bryan Bundgaard
AC7 User http://www.SchoolSupplyStore.com
AC7 User http://www.SchoolSupplyStore.com
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
Re: Breadcrumbs Default.aspx
Hello,
Ok, perhaps guess number two will be correct.
/App_Code/NavigationHelper.cs
change to (remove 'Default.aspx'):
Ok, perhaps guess number two will be correct.
/App_Code/NavigationHelper.cs
Code: Select all
/// <summary>
/// Gets the url to the store homepage.
/// </summary>
/// <returns>A string containting the url to the store homepage</returns>
public static string GetHomeUrl()
{
return "~/Default.aspx";
Code: Select all
/// <summary>
/// Gets the url to the store homepage.
/// </summary>
/// <returns>A string containting the url to the store homepage</returns>
public static string GetHomeUrl()
{
return "~/";
Re: Breadcrumbs Default.aspx
Worked! Thanks Mike!
Bryan Bundgaard
AC7 User http://www.SchoolSupplyStore.com
AC7 User http://www.SchoolSupplyStore.com