I am in trouble. I designed a website where I am fetching data from database and I want to create a user friendly url dynamically using .htaccess file. My url type is like https://example.com/lrc.php?ti=Down+Bad&ar=Taylor+Swift&no=151107
and I want my url to be https://example.com/down-bad-lyrics-download-taylor-swift-151107
I am using this
<code>RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9-]+)-lyrics-download-by-([a-zA-Z0-9-]+)-([0-9]+)$ lrc.php?ti=$1&ar=$2&no=$3 [L]</code>
<code>RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9-]+)-lyrics-download-by-([a-zA-Z0-9-]+)-([0-9]+)$ lrc.php?ti=$1&ar=$2&no=$3 [L]</code>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9-]+)-lyrics-download-by-([a-zA-Z0-9-]+)-([0-9]+)$ lrc.php?ti=$1&ar=$2&no=$3 [L]
but it is not working. Is there someone who is expert in rewriterule in .htaccess. Please help me out. It will be really so appreciated.