Redirect to a variable URL on Intranet - TechRepublic
General discussion
March 27, 2006 at 03:32 PM
graham bennett

Redirect to a variable URL on Intranet

by graham bennett . Updated 20 years, 3 months ago

I know how to redirect to a fixed URL but I would like to be able to vary the directory path for my redirect.

To explain: my normal hyperlinks are prefixed ../ to represent the higher level directory path that may change when I move test web page to the production intranet. e.g. ../IRM/Index.phtml. FrontPage generates an ‘a href’ command. I have tried replacing the URL portion of the tag with a href ../IRM/Index.phtml but it does not work.

Am I able to redirect to a variable URL or does the URL have to be to a fixed address?

Regards

Graham Bennett

This discussion is locked

All Comments