This forum has been moved here:
Helicon Tech Community Forum

ISAPI_Rewrite 3.0 (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 3.0
Subject Topic: Redirect absolute URL to absolute URL
Message |

Joined: 12 September 2011
Location: Australia
Posts: 15
Posted: 10 October 2011 at 12:16am


We have a website with several host headers and is one of them.

Now I need to redirect to How
would I do it?

I already know how to redirect a domain to an absolute URL using this:

RewriteCond %{HTTP_HOST} ^blueplanetaquariums\.com$ [NC]
RewriteRule (.*) [R=301,L]

But don't know how to redirect an absolute url to another absolute URL.

Please help. Thanks.

Back to Top Visit janmontano's Homepage
Admin Group

Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 10 October 2011 at 2:00am

Please try it as follows:

RewriteBase /
RewriteCond %{HTTP_HOST} ^(?:www\.)?blueplanetaquariums\.com\.au$ [NC]
RewriteRule ^default\.aspx$ [NC,R=301,L]

Back to Top

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

Printable version Printable version