View Full Version : 301 all pages except the homepage - need an exception

03-22-2011, 07:14 PM

A friend suggested I post here for some help. I've been trying to 301 an entire site to a new url with no luck. The site has 10,000 urls, and because of that I'm trying to figure out a way to do the following without creating a massive htaccess file

The articles are in the root and not in directories, so I need a rewrite that allows me to 301 all articles to a new url, and a separate rewrite that lets me 301 the homepage to a separate url

Like this

/articles.html to http://www.newsite.com/articles/

oldsite.com to http://www.newsite.com/

I appreciate any help anyone can give. I was able to exclude the homepage from redirecting, but couldn't get the two rewrites to work together.

Is this possible?