This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Common Questions (Forum Locked Forum Locked)
 Helicon Tech : Common Questions
Subject Topic: Redirect only one page to another domain
Author
Message |
dtnsemprog
Newbie


Joined: 10 March 2010
Location: United States
Posts: 19
Posted: 26 March 2010 at 4:35pm

Does anyone know what the rule would look like to do the following:

Redirect:  www.site1.com/afolder/onlythispage.html

To:         www.adifferentsite.com/index.html
Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 29 March 2010 at 3:01am

Please try the following config (for ISAPI_Rewrite v3):

RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.site1\.com$ [NC]
RewriteRule ^afolder/onlythispage\.html$ http://www.adifferentsite.com/index.html [NC,R=301,L]

__________________
Regards,
Anton
Back to Top
 
dtnsemprog
Newbie


Joined: 10 March 2010
Location: United States
Posts: 19
Posted: 14 April 2010 at 12:59pm

I finally got around to trying this.  It worked great.

Thank you!
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