Apr 8th, 2008 19:02
ha mo, Dave Clark, rana Krishnraj,
The only solution I've seen, for this, is to make your default
which immediately navigates to the default version of the same page
self.location.href = "/script/";
Thus, the default site folder would be compeltely devoid of
embeded within those versions.
Of course, this also means that search engines won't index the
script versions of your pages and will only point to the non-script
versions of your pages. Presumably this would be OK if you wanted to
also place the above code in every non-script page and customize it to
point to the equivalent page in the script folder.
By the same token, of course, you could reverse this process and
make your default page be full script and use the following code to
redirect to a non-script version of the same page:
<meta http-equiv="refresh" content="0;url='/nscr/'">