Hello, I want to redirect one domain to another in the way
[
olddomain.com...] -> [
newdomain.com...]
The issue is that i have seen at least 3 different ways to do this and I would like to know what is the best way to do this for google SEO.
1. RewriteRule (.*) [
newdomain.com...] [R=301,QSA,L]
2. redirectMatch 301 ^(.*)$ [
newdomain.com$1...]
3. redirect 301 (.*)$ [
newdomain.com...]
Which one is the best/the right one?
Thanks.