I need some help with .htaccess redirect.http://www.example.de/test-music.html?p1=1&p2[test]=23http://www.example.de/test-music.html?p1=6&p2[test3]=5ALL of them need to be redirected to ...http://www.example.de/music/... without taking care of any parameters - can you help me?
Apache .htaccess - All URLs with different parameters to ONE redirect
htaccess;301 redirect;apache2;url parameters
Very easy, this is something you can easily find and figure out yourself.# Check if the url STARTS WITH (is what the ^ does) '/test-music'RewriteCond %{REQUEST_URI} ^/test-music# redirect it, 301 style, Last line (we go away, no need to do the rest of the htaccess)RewriteRule ^(.*) /music/ [L,R=301]