301 Redirect Question - Cannot Find Syntax
I have a blog that has been in this format:
www.domain.com/blog/
I'm wanting to move it to another top level domain:
www.newdomain.com
This does not work:
RedirectMatch 301 (.*) http://www.newdomain.com/$1
It takes the /blog/ at the end and tries to find newdomain.com/blog/ which does not exist. Is there different syntax that should be in there to redirect everything to the correct place?
Thanks in advance....Cannot find the right stuff through Google (or do not know the correct search term to use).