1

i have a web site which will navigate to a different domain once logged in. I need to re write the url by removing the aspx page of the URL and add the domain name from which it navigates to. for eg:-from the site www.xyz.com it has been redirected to www.abc.com.so the url should be displayed as www.abc.com/xyz can anyone can help me on this?

Tom Cruise
  • 1,395
  • 11
  • 30
  • 58

1 Answers1

0

use a url re-writing tool

http://urlrewriter.net/

and have a look at this nice article from Scottgu also

http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx

Illuminati
  • 4,539
  • 2
  • 35
  • 55
  • could you please help me to write the url using the notations that they specified in web.config? url="/tags/(.+)" rewrite="/tagcloud.aspx?tag=$1" in the same way how to rewrite the url from www.xyz.com to www.xyz.com/abc – Tom Cruise Jul 08 '11 at 06:10