Using .htacess rewrite rule, I want to convert this link:
http://localhost/CodeArk/?page=mypage
into
http://localhost/CodeArk/mypage
This is my current code in .htaccess file but it is not working
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^mypage/?$ http://localhost/CodeArk/?page=mypage [NC,L]
And also this is not dynamic, Is there a way to make it work and make it dynamic?