I have short url service for a site, which has url like http://example.co?c=xyz.
In index.php file parameter is being accessed as $code = $_GET["c"];.
I want to access the same code when i type http://eaxample.co/xyz
.htaccess file config
Options -Multiviews
Options +FollowSymLinks
RewriteEngine On
RewriteRule (.*) /$1? [R=301, L]
Can anyone please help me to get right rule?