HTTrack Website Copier
Free software offline browser - FORUM
Subject: Maintaining old website links unbroken
Author: David Rennert
Date: 04/21/2009 13:06
 
I have a php website I need to download.
The static HTML site should replace it.
The original website inner page links have the form
<http://mydomain.com/itme.php?id=N> where N = 1...2000.

I need old external links to this website inner pages to remain unbroken after
i replace the php website with the HTML website.

For this i thought about adding a mod_rewrite rule which turns old php links
to html links e.g. the link
<http://mydomain.com/itme.php?id=10>
will actually serve the static html file
<http://mydomain.com/item10.html> 

The problem is that HTTrack names the file it creates in an arbitrary fashion
e.g. it turns the URL <http://mydomain.com/item.php?id=10> to something like
<http://mydomain.com/item7.html> (and not item10.html or any other name which
follows a logic I can translate into a rewrite rule).

Is there a way to overcome this?
 
Reply


All articles

Subject Author Date
Maintaining old website links unbroken

04/21/2009 13:06
Re: Maintaining old website links unbroken

04/21/2009 15:36




2

Created with FORUM 2.0.11