Link to home
Create AccountLog in
Avatar of jrmcintosh
jrmcintosh

asked on

How do I create a sitemappath XML that is reliant on two url variables?

How do I create a sitemappath XML that is reliant on two url variables?

C# .Net does not like the fact that I am adding a ampersand (&) to my XML when creating a sitemappath. I need to use two URL variables. How can I make this happen?
Avatar of burakiewicz
burakiewicz
Flag of United States of America image

try using %26 for the &
Avatar of jrmcintosh
jrmcintosh

ASKER

It did not like it...

The 'url' property had a malformed URL: solutions.aspx?cat=1%26i=3
ASKER CERTIFIED SOLUTION
Avatar of burakiewicz
burakiewicz
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Since it won't take & it probably won't take & Any other suggestions?
but with those using the default sitemap wont work
there might be something here
http://xmlsitemap.com/
I'll eat some crow, & did work, thanks.