Forum Moderators: phranque
Options +FollowSymLinks
RewriteEngine on
RewriteOptions inherit
RewriteBase "C:/root/sridevi/"
RewriteCond %{QUERY_STRING} ^msg=fpwd$
RewriteRule ^index\.php$ index/fpwd/ [R=301,L]
Is it correct way of using mod rewrite. Please explain how to implement for this issue.
Thanks & Regards,
Sridevi.
Welcome to WebmasterWorld [webmasterworld.com]!
If I understand what you're trying to do, you want to use a link of "fpfwd.php" to access your script at index.php with a query string of "msg=fpfwd".
In that case, you'd use:
RewriteRule fpwd\.php$ /subfolder/index.php?msg=fpwd [L]
Jim