I *thought* what I was trying to do here was easy, but I've run into a problem that I believe is related to a lack of understanding on syntax.
I'm trying to redirect a handful of pages from one domain/site to a corresponding set of pages on a new domain/site. I'm forwarding the home page of the old to the home page of the new, then about a dozen other pages in the old site to corresponding pages on the new site.
Here's what I've got:
redirect 301 / [newsite.com
redirect 301 /about/ [newsite.com
redirect 301 /file1/ [newsite.com
redirect 301 /file2/ [newsite.com
Simple as that, but only the home page of the old site redirects to the proper page, i.e. - the home page of the new site.
The second directive, for example, redirects to: http://www.newsite.comabout
, leaving off the trailing slash between the domain and the file name, thus leading to a 404 error.
I've tried escaping that forward slash (though I firmly believed this was unnecessary) as well as wiping out my old site (temporarily) that it consisted ONLY of the .htaccess file. Neither worked, but any input is much appreciated.