Trying to get the basics of mod_rewrite going. . . I'd like to rename any urls in this format:
index.php?a=c
to this:
index-X.html
where X is the value of 'c'.
Here is what I have:
RewriteEngine on
RewriteBase /
RewriteRule ^index\-(.*)\.html$ index.php?a=$1 [L]
Yet it is not working.. anybody see anything wrong with this?
-Bob
index.php?a=c
to this:
index-X.html
where X is the value of 'c'.
Here is what I have:
RewriteEngine on
RewriteBase /
RewriteRule ^index\-(.*)\.html$ index.php?a=$1 [L]
Yet it is not working.. anybody see anything wrong with this?
-Bob







