Kerim Friedman wrote:
So is there anyway I can convert to a more stable
structure for my
URLs, such as what you recommend, without loosing links that already
exist to current pages?
One thing that's easy to maintain is to set up a 404 error handler
script. This will let any real files through without having to poke
around adding exceptions.
In .htaccess something like:
ErrorDocument 404 404.php
Then in your 404.php you have it redirect something like:
<?php
$url = "/wiki/" . $_REQUEST['REQUEST_URI'];
header( "Location: $url" );
?>
I don't vouch for the correctness or security of that snippet, but
something like that.
You might be able to do something similar with a scary rewrite rule.
-- brion vibber (brion @
pobox.com)