This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: Redirect to proper host
Author
Message |
SliNgSh0t
Newbie


Joined: 22 June 2010
Posts: 13
Posted: 30 December 2010 at 5:00pm

Hi,

I would like to make urls http://mysite.com and http://mysite.com/ (trailing forward slash) permantly redirect to:

http://www.mysite.com

Thanks!

Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 04 January 2011 at 2:07am

That'a pretty easy:

[ISAPI_Rewrite]
RewriteCond Host: mysite\.com
RewriteRule /? http\://www.mysite.com [I,RP]

__________________
Regards,
Anton
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum