I have these rewrite rules in my .htaccess
RewriteRule ^download-mp3/?$ music/index.php
RewriteRule ^download-mp3/([0-9]+)-(.*)$ music/view.php?id=$1 [L]
RewriteRule ^music/([0-9]+)-(.*)$ music/view.php?id=$1 [L]
This is the url
https://www.myweb.com/download-mp3/2735-masterkraft-yapa-remix-feat-wizkid-cdq-reekado-banks but i want url redirected and transformed to
So i added this to my .htaccess file.
RedirectMatch 301 ^/download-mp3/?(.*)?$ /mp3-download/$1
The above works but its adding
?id=2735 add the end of the rewrite which is not specified in the rule.