changing URL to Admin pages
changing URL to Admin pages
We changed the URL to the admin dashboard of our site from /Admin to another directory. After doing this, I found a bug in the breadcrumb navigation in the product catalog. When a user hovers over one of the parent categories ("Standard Sizes" in the screenshot), it reverts back to the old address and goes to a 404 page (/Admin) because this dir no longer exists, how do I update it with the new directory?
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: changing URL to Admin pages
Try changing it in the App_Code/NavigationHelper.cs
public static string GetAdminUrl(string path)
{
return "~/Admin/" + path;
}
public static string GetAdminUrl(string path)
{
return "~/Admin/" + path;
}
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: changing URL to Admin pages
We had previously changed this file to our new URL. The breadcrumb nav in the admin is still being affected by something outside of that section of code in NavigationHelper.cs
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: changing URL to Admin pages
Admin/Breadcrumbs.sitemap ?
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: changing URL to Admin pages
I looked in there as well. I don't see any reference to the old/default admin URL. All of the references have been changed to the new URL that we moved the Admin dashboard to.