what is a windows server? IIS? Apache under windows?
how to use mod_rewrite to lower-case the destination? has a similar predicament on apache...
anyway, its not that easy, it seems...
Personally, i'd do something like:
RewriteRule ^([A-Z]+).html$ redirect.php?page=$1 [L]
if you have filenames like PAGE_TWO or PAGE-TWO, then simply add the chars like [A-Z_-]
and then have redirect.php can be like so:
if it's an IIS server, google on how you setup rewrites on that, but the regex is going to be similarPHP Code:<?PHP
header("Location: " . strtolower($_GET['page']));
?>



LinkBack URL
About LinkBacks





Bookmarks