301 Redirect Question - Cannot Find Syntax

0 replies
I hope there are some bigger geeks than me on this forum that know what the syntax should be...

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).
#301 #find #question #redirect #syntax

Trending Topics