Master Hyperlink Question?

My problem is I have 50+ links on a website all referencing the same address, but I want to update the address and I have to update all 50+ links.
I'm looking for a way to use a master link that all these links would point to, then all I have to do is update 1 link in the future if I needed to do this again.
Any ideas as to ways to go about this?
Thanks for any suggestions!

2009-03-30T20:50:58Z

I'm going to look into both an see which one fit's my needs, thanks for the help!

Anonymous2009-03-30T19:04:47Z

Favorite Answer

You can do this easily with PHP. Just declare a variable with the link you want to be able to change at the top of the page:

<?php
$mylink = "http://www.web.com/link.html";
?>

Everyplace you want the link to be changed:

<a href="<?php echo $mylink; ?>">Text for the hyperlink can be whatever you want</a>

<a href="<?php echo $mylink; ?>">Same link, different text</a>

Joseph Marlin2009-03-30T18:19:04Z

Sign up on Cli.gs. Then create a new clig that points to google. You'll get something like cli.gs/a32nd

Put in that new URL in your website, all 50 places.

Then, when you want to change it to point to yahoo, just go to your cligs page, and edit that clig to point to yahoo instead.

The URL will still be cli.gs/a32nd

but it will then point to yahoo instead of google.