I should rename a file (web page) with parameters and redirect all (parameters generated) old pages to newer like:
page.php -> renamed -> newpage.php
Redirect
page.php?param1=1¶m2=string -> Redirect 301 -> newpage.php?param1=1¶m2=string
page.php?param1=2¶m2=string -> Redirect 301 -> newpage.php?param1=2¶m2=string
page.php?param1=3¶m2=string -> Redirect 301 -> newpage.php?param1=3¶m2=string
... ...
What is the right .htaccess code ?
Thank you M.