Forum Moderators: phranque

Message Too Old, No Replies

Looking for a redirect exception line

redirecting an entire site to it's new home, need to have an exceptio

         

DensityMan

7:12 pm on Jan 18, 2007 (gmt 0)

10+ Year Member



Redirect / http://www.example.com/

The line above has gotten us through by redirecting any 'old' link to the pages 'new' home for about a year now. Something has come up that requires a hibernating page to become active again. The problem is that the new domain host does not support the technology necessary to run the page (a form) properly and time is an issue.

Is there a line I can add to the .htaccess file (which resides on the old/original host) which would create an exception to that broad redirect allowing for access to a page on the original/old host (which is still alive, but hibernating)?

Thanks.

[edited by: jdMorgan at 3:13 am (utc) on Jan. 20, 2007]
[edit reason] Example.com [/edit]

jdMorgan

3:12 am on Jan 20, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'd recommend using mod_rewrite, which supports conditional redirection by use of the RewriteCond directive, instead of using mod_alias, which has no support for conditions.

Jim