Hello, I need to 301 individual pages e.g. /about.html to http://www.example.com/aboutus.html and then do an overall 301 to the new domain home page for all other pages that I don't need to specify.
Is there a way to 301 both individual urls and the remainder of the site easily at the same time in htaccess?
Thanks in advance.
[edited by: jdMorgan at 3:29 am (utc) on Aug. 1, 2007] [edit reason] example.com [/edit]
g1smd
10:03 pm on Jul 31, 2007 (gmt 0)
Yes, do the specific rules first, ending each with an [L] so that it finishes there.
Finally do the "catch all" redirects. If there are exclusions use a !negative match.
I would use the RewriteCond - RewriteRule syntax as it is more powerful.