move your website WebMove is a utility that helps you move your web pages from one server to another. Everybody wants to move to a new server at some point. Maybe its faster, maybe it has better features, maybe you just like it better, maybe you old server will be shutting its doors to you soon, but whatever the reason, you want to move.

The problem is that people know about your your site on your old server. Some people have it bookmarked. A search engine or two found it. Other sites linked to it. What are you going to do, just leave them hanging? You don't want to keep two sites around so that people looking at the old site won't get lost. Some web developers just put a notice on the front page that they are moving soon, but not everybody looks at the front page. Search engines don't send people to your front page all that often either. What is one to do? Link every page?

That's where WebMove comes in. It automatically creates a redirect page for every page on your site. You just tell web move where your new site will be! You just replace your old site with these pages, and nobody gets lost.


WebMove is available in source code form. You will need one file: WebMove.java.


You will need a copy of your web site on a local computer. This program is not a spider, and does not look at the contents of HTML documents. It only creates a document that points to the new location of the original HTML document for each HTML document in a directory.

First you will need to download the source file and put it in the directory with the rest of your web site on your computer. Compile WebMove (Java compilers and runtime environments available at java.sun.com in the SDK) using the following command line:
javac WebMove.java

Then run WebMove in that directory using one argument: The URL of your new web site.
java WebMove "http://www.joeschmoe.com/"
java WebMove "http://www.myisp.com/pages/~joeschmoe/"

WebMove will create your replacement site in a directory called WebMove in that directory.


Copyright (c) 2000 by Stephen Ostermiller

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.