Mobile app version of vmapp.org
Login or Join

Login to follow query

More posts by @Sue5673885

2 Comments

Sorted by latest first Latest Oldest Best

 

@Annie201

RewriteRule ^test-music.html$ /music/ [L,R=301]

10% popularity Vote Up Vote Down


 

@Chiappetta492

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]

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme