I'm trying to transfer entire site to a new host, tried several options
including like:
wget --recursive --no-clobber --page-requisites --no-parent
http://www.domain.tld
but, all i get was single file as so:
index.html
-------------------
<script language="JavaScript">
<!--
var sTargetURL = "html/home.htm";
function doRedirect()
{
setTimeout( "window.location.href = sTargetURL", 1*1000 );
}
//-->
</script>
<script language="JavaScript1.1">
<!--
function doRedirect()
{
window.location.replace( sTargetURL );
}
doRedirect();
//-->
</script>
------------
so, I entered the actual domain/path like so
http://www.domain.tld/html/home.htm
that seems to work, I got the site, but, question:
what is the proper way, is there a single command to run with such ?
or, is this javascript, and, wget doesn't do javascript ?