• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 159
  • Last Modified:

Automatic Updates

Hi,

I'm a webmaster of a university website and one of the jobs involves keeping the links to various departments updated. Now once in while the departments change their web addresses due to a server issue or sumthing...Now as far as i know there isnt a way where the links on my website get updated whenver the referred website address changes...but you never know. Experts any help is greatly appreciated.

Thanks
0
patrvic
Asked:
patrvic
  • 2
  • 2
1 Solution
 
patrvicAuthor Commented:
My topic shud've been

Automatic update of links

My question is

is there a way where the links on my website get updated whenver the referred website address changes automatically without any user intervension.

-Thanks


0
 
mrichmonCommented:
No.

not unless the links are all relative and not absolute.  So if all these webpages are stored as subsites of the main university site then relative links will do the trick.  If they are separate websites then your best bet is to use some software to check for broken links.

Here is free software that runs fast and tells you broken links:
http://home.snafu.de/tilman/xenulink.html
0
 
patrvicAuthor Commented:
Hey richmon,

I think all the webpages are subsites (is it cause all originate from the same server and behave as web pages ie subsites). Would you be able to tell me how i could do the relative links thing.

You will not make me responsible for damages (lost time, crashed computer, etc) :  This killed my dream. I'll probably try the webanaylyzer thing.

Thanks
0
 
mrichmonCommented:
Relative links mean that instead of having:


<a href="http://www.university.edu/departments/english/default.htm">English Department</a>
<a href="http://www.university.edu/departments/math/index.html">Mathematics Department</a>
<a href="http://www.university.edu/departments/physics/default.php">Physics Department</a>

You would have:

<a href="/departments/english/">English Department</a>
<a href="/departments/math/">Mathematics Department</a>
<a href="/departments/physics/">Physics Department</a>

Notice that I specify from the root of the site and also don't specify the page.  That way I go to the default page of each directory.

But you can't do much more than that automatically as far as I know.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now