Forum Moderators: phranque
[edited by: phranque at 11:21 am (utc) on Mar 5, 2014]
[edit reason] Please Use example.com [webmasterworld.com] [/edit]
RewriteCond %{REQUEST_URI} ^\/index.php
RewriteCond %{QUERY_STRING} ^\?str=$1
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
I can get to web by:
www.example.com/?str=test
or
www.example.com/index.php?str=test
I want to change the url fom www.example.com/?str=test to www.example.com/test
example.in/test /index.php?str=test