Tugging my hair out over that one.

I've one wordpress install at /2009 and something at /2010. I'm attempting to redirect all demands towards the 2009 site towards the 2010 site. I've attempted these two within the root .htaccess as well as in the /2009 .htaccess:

RewriteRule ^2009.*$ 2010 [R=301,L]

RewriteCond %{REQUEST_URI} ^2009.*$
RewriteRule . 2010 [R=301,L]

However the 2009 site keeps loading. Any ideas?

Simply to clarify: You've got a wordpress install around the server at /Document/root/2009, viewable inside a browser at http://server/2009, along with a wordpress install at /Document/root/2010, viewable inside a browser at http://server/2010, correct?

The simplest factor to complete is login towards the server, compact disc /Document/root and do that:

mv 2009 2009.backup
ln -s 2010 2009

If you don't have spend accessibility server under consideration, then your second simplest technique is to relabel the index.php for wordpress in '09 and load this index.php into it:

<?php
header("Location: http://server/2010/"); /* Redirect browser */
exit;
?>