Wednesday, 21 December 2005

Using meta-refresh to redirect a site

I had some content hosted on my ISPs webspace, and when it came to move it off, I hit a slight problem: I do not like breaking links, but as Demon run thttpd, with no configuration access for us users, there was no way to redirect a whole directory tree. So I have written a script to create an entire tree of HTML pages with meta-refresh tags redirecting to a new site. Not an elegant solution, but it gets the job done.

0 comments:

Post a Comment