Hi I have such a rules to shorten my long url and make them more user friendly:
RewriteRule ^article/([0-9]+)/(.+)$ /go/_articles/?id=$1 [QSA,L] > www.mysite.com/article/1/some_title shows www.mysite.com/go/_articles/?id=1 content
RewriteRule ^article/([0-9]+)/(.+)/category/([0-9]+)/(.+)$ /go/_articles/index.php?id=$1&category=$3 [QSA,L] > www.mysite.com/article/1/some_title/cat ... /some_name shows www.mysite.com/go/_articles/?id=1&category=1 content
RewriteRule ^news/([0-9]+)/(.+)$ /go/_news/?id=$1 [QSA,L] > www.mysite.com/news/1/some_title shows www.mysite.com/go/_news/?id=1 content
RewriteRule ^help$ /go/_files/?file=help.html [QSA,L] > www.mysite.com/help shows www.mysite.com/go/_files/?file=help.html content
RewriteRule ^contact$ /go/_files/?file=contact.html [QSA,L] > www.mysite.com/contact shows www.mysite.com/go/_files/?file=contact.html content
But I also want to have a permanent redirection for all this rules. When someone enter the old URL (like www.mysite.com/go/_files/?file=help.html) I want him to be redirected to the new one (like www.mysite.com/help) so the old URL will be no longer available, for search engines too.
I have read many articles especially with 301 redirection examples, but I can't write a rule that do that. Can you help me?