To redirect any pages from a previous website to the home page of another, which one would be correct in the .htaccess file please? and would anything else be needed in the file?
Redirect 301 / http://www.newdomain.com/
Or:
RewriteEngine on
RewriteBase / RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
Another, the online htaccess file creation using the online tool. Just add your preview domain and your new domain in the and the tool will create the coding.