I have a question. I'm using IIS 7 URL rewrite. It works fine, but now I want this:

http://www.example.com/http://www.domain.com

to be:

http://www.example.com/www.domain.com

I have no clue on how to do this. Can you help me?

Thanks in advance!
Martho

link|improve this question
feedback

2 Answers

http://learn.iis.net has a great article on rewriting urls. They also have a video for those who prefer more personal instruction.

Related

link|improve this answer
feedback

Also there is software that allows to perform URL rewrite. We use ISAPI_Rewrite for thing like that. For more features i can suggest Helicon Ape.

The rule for your rewrite is going to be:

RewriteRule ^http://([^/]+)$ $1 [NC,R=301,L]

link|improve this answer
feedback

Your Answer

 
or
required, but never shown