Hi,
i have php pages and i need to rewrite "index.php?id=5" as
"info-5.html",
i try making a .htaccess file into index.php folder with this rules:
Code:
RewriteEngine on
RewriteRule ^page/([^/\.]+)/?$ index.php?id=$1 [L]
i load my page in localhost with wamp and setting apache with mod_rewrite enable.
but loading the page it don't write as i want and write always "index.php?id=5"
what's wrong??
|