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 a domain name to another domain
Author
Message |
rschonhoff
Newbie


Joined: 16 December 2011
Posts: 1
Posted: 16 December 2011 at 11:02am

I have tried several examples but cant seem to get it to work. Here is what I have in httpd.ini now.

 

[ISAPI_Rewrite]
RewriteCond Host: ^www\.dvmark\.com
RewriteRule (.*) http\://dvmark\.com$1 [I,RP] 

### subdomain redirect v2 ###
RewriteCond Host: . . . . (more stuff here)

 

I want to add a 301 redirect of www.digitalvisionmarketing.net to dvmark.com

Also traffic from non www digitalvisionmarketing.net to dvmark.com

If I could get help with the syntax it would be greatly appreciated

Thank you

Back to Top
 
Lexey
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Posts: 8119
Posted: 16 December 2011 at 12:24pm

Quote:

I want to add a 301 redirect of www.digitalvisionmarketing.net to dvmark.com


[ISAPI_Rewrite]
RewriteCond Host: www\.digitalvisionmarketing\.net
RewriteRule (.*) http\://dvmark.com$1 [I,RP]

Quote:
Also traffic from non www digitalvisionmarketing.net to dvmark.com


I guess you have mistyped something. Because that means you want redirect anything to dvmark.com (regardless of www.digitalvisionmarketing.net presence).
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