I hope this is the right place... I currently have a blog set up like this: thisdomain.com/blog but I want to move it to another domain, but house the blog in the root directory, like: thatdomain.com (no blog directory on a different url). If I do a simple 301, people will get forwarded, but it will go from www.thisdomain.com/blog/post to www.thatdomain/blog/post, right? But there will be nothing at the blog directory, so they will get an error page. Or am I missing something? I want them to go to www.thatdomain.com/post I really want my blog in my root directory this time. What can I do? FWIW, I am hosted on GoDaddy (I know, I know, but they are cheap and I have had zero trouble) and running wordpress.
Well, I have done nothing yet. I am planning the move for later this week. But if I just do that, won't they be sent to the /blog directory of the new url? I guess my problem (as I see it) is I have a lot of inbound links. If someone goes to olddomain.com/blog/greatpost and I have a 301 redirect at olddomain.com, wont they get forwarded to newdomain.com/blog/greatpost? And if they do, there will be no /blog directory at new domain, so they will get a 404, right? I want them forwarded to newdomain.com/greatpost. Or maybe I am missing something. I am soooo the content guy, not the server guy...
OK, I finally came around and saw what you were saying. Tonight I loaded an .htaccess file with your command in it to my blog directory on olddomain.com/blog. However, when I go to olddomain.com/blog, it redirects me to newdomain.com/blog, where there is nothing, instead of redirecting me to newdomain.com So, I guess it is time for plan b. (I just wish I knew what that was, exactly...)