I have a link that looks like this
I would like to change this URL to
I've only been able to do this by adding music
as a parameter instead of adding it to the new URL as a prefix
In short, i've turned this URL ...
... using this rule ...
RewriteRule ^([^/]*)/([^/]*)$ /artistmusic?address=$1&req=$2 [L]
... into ...
But the problem with this is that for other pages like the one for the videos, this rule redirects to the same page http://www.example.com/JKanyomozi/music
instead of http://www.example.com/JKanyomozi/videos
The videos page's original URL is something like this ...
Which rule can I use to change the URL above to
This applies for other pages like artistevents
Thank you in advance!