Forum Moderators: phranque
RewriteCond %{QUERY_STRING} id=(.*)
RewriteRule ^sales/index.php?id=short /Amazonsalesarticles/mysefriendlypage.html
http://www.mydomain.com/Amazonsalesarticles/mysefriendlypage.html
RewriteCond and Redirect together. RewriteCond goes only with RewriteRule. RewriteRule, but do not include the query string in the RewriteRule pattern. [R] flag you have invoked a 302 "temporary" redirect. [R=301,L] flags here in order to invoke a 301 "permanent" redirect.