Groups > Application developers > Community Server Source discussions > Re: How do I get the URL the user sees instead of the vanity url?




How do I get the URL the user sees instead of the vanity
url?

How do I get the URL the user sees instead of the vanity url?
Mon, 4 Sep 2006 00:27:48 +0000
I'm trying ot use
CommunityServer.Components.CSContext.Current.Context.Request.Url to get the
current url but I'm getting the vanity url instead (ShowForum.aspx?ForumID=$1)
instead of the /ShowForum.aspx url. Is there a way to get the one I want?
Post Reply
Re: How do I get the URL the user sees instead of the vanity url?
Sun, 10 Sep 2006 23:00:41 +000
If I am correct, and I think I am, the CommunityServer.Components.CSUrlRewriter 
 RewriteUrl() method takes a "raw" path and transforms it into the
"rewritten" path.
Post Reply
about | contact