i am trying to convert the actual URL to user friendly there is dynamic menu, when user click on page the orignal url becomes
http://example.com/single.php?name=mypagename
i want to change it to
http://example.com/page/mypagename
here is my htaccess file i tried from different angles Please can any one help to correct it..
# For security reasons, Option followsymlinks cannot be overridden.
#Options +FollowSymlinks -Multiviews
Options +SymLinksIfOwnerMatch -Multiviews
RewriteEngine on
RewriteBase /
RewriteCond %{THE_REQUEST} ^(GET|HEAD|POST)\ /single\.php(\?|\ )
RewriteCond %{QUERY_STRING} name=(.+)
RewriteRule page/(.*) single.php?name=$1
RewriteRule ^ /page/%1? [L,R=301]