i have migrated siteA.com to siteB.com.
Now i want make redirect 301 for siteA.com using file .htaccess
Apache is enabled but when i transfer my .htaccess, site goes in error and i recive this message
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
My file .htaccess for siteA.com have only string as
Redirect 301 /index.php/ https://siteB.com
Redirect 301 /ipage1.php/ https://siteB.com/page1/
Redirect 301 /ipage2.php/ https://siteB.com/page2/
Redirect 301 /ipage3.php/ https://siteB.com/page3/
… and so on
Please, i have to modify or integrate my .htaccess file to solve ?