.htaccess redirect, dynamic page to static page

Old Address http://www.example.com/FS-APL/FS-Form/form.cgi?code=a12

New Address http://www.example.co.jp/newsletter.html

RewriteCond %{QUERY_STRING} Code=a12
RewriteRule FS-APL/FS-Form/form.cgi http://www.example.co.jp/newsletter.html? [R=301,L]

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.