So is this possible to redirect URL with all the parameters and file names too to another URL. For example, there is a URL like
example.com/anyfile.php?param1=data2
So is this possible to redirect this URL to
example2.com/anyfile.php?param1=data2
Without having the file anyfile.php Maybe something to do with .htaccess or anything?