D
Don
Hi all,
So i may have painted myself into a corner, am I screwed?
I'm developing a message board for a site I work on, fairly simple
hierarchy. Topics -> Threads -> Posts. As such, I've written a custom
site map provider for my breadcrumb control. Adding SiteMapNodes for my
ViewThreads.aspx (see all the threads in a topic) is simple...
topicNode = new SiteMapNode(this, topic.Name,
string.Format("~/ViewThreads.aspx?topicid={0}",
topic.TopicId),
topic.Name,
topic.Description);
AddNode(topicNode, _forumHome);
And everything works great, until I tried to set up custom paging via
url (to make the page more SEO/google spider friendly). The new paging
setup appends a &page=X to the page's url, thus confusing the
breadcrumb control what page we're on.
So my question, is there any way to tell my sitemapnodes to ignore the
"page" querystring parameter? Barring that, is there another way to do
seo friendly paging (w/o postbacks essentially)?
Thank you in advance.
Don
So i may have painted myself into a corner, am I screwed?
I'm developing a message board for a site I work on, fairly simple
hierarchy. Topics -> Threads -> Posts. As such, I've written a custom
site map provider for my breadcrumb control. Adding SiteMapNodes for my
ViewThreads.aspx (see all the threads in a topic) is simple...
topicNode = new SiteMapNode(this, topic.Name,
string.Format("~/ViewThreads.aspx?topicid={0}",
topic.TopicId),
topic.Name,
topic.Description);
AddNode(topicNode, _forumHome);
And everything works great, until I tried to set up custom paging via
url (to make the page more SEO/google spider friendly). The new paging
setup appends a &page=X to the page's url, thus confusing the
breadcrumb control what page we're on.
So my question, is there any way to tell my sitemapnodes to ignore the
"page" querystring parameter? Barring that, is there another way to do
seo friendly paging (w/o postbacks essentially)?
Thank you in advance.
Don