That's simple enough to do with a substring, thank you. Would be nice to have that as part of the UrlHelper.ResolveURL functionality though.
A new problem that I'm having is that I'm using the HtmlAgilityPack to scrape the pages that I need to be able to package and export, and instead of it pulling up the page, it's going to the login screen. I can't take off the authentication of these pages due to the fact that certain people are only allowed to see them, but how can I get access to them without having to modify the document and then resetting their permissions to what they once were?