I want to redirect it so that anything having to do with the domain gets redirected to a single landing page on my new domain.
So if someone types in olddomain.com, www.olddomain.com, olddomain.com/whatever.php, etc. I want them to be redirected to www.newdomain.com/landingpage.php.
I don't want olddomain.com/contacts.htm to redirect to newdomain.com/contacts.htm. I want olddomain.com/contacts.htm and all other pages to go to newdomain.com/landingpage.php
What's the best code to put into my .htaccess file to do this?
I tried using this:
Options +FollowSymLinks RewriteEngine on RewriteRule (.*) http://www.NewDomain.com/landing.php [R=301,L]