I have my moved my site www.oldexample.com to www.example.com. The links structures are completely different. There were over a 100 pages in the new site, so I wrote redirects for each link. So far the homepage redirects fine, the rest of the redirects don't work.
This is the htaccess I am using (clipped for brevity):
# AddHandler application/x-httpd-php5 .php .html
<IfModule mod_rewrite.c>
RewriteEngine On
Options +FollowSymLinks
RewriteEngine on
#
RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule ^(.*)$ [
example...] [R=permanent,L]
Redirect 301 /2012/04/swiss-army-room.html$ http://www.example.com/972-swiss-army-room.html
Redirect 301 /2012/04/swiss-army-room.html$ http://www.example.com/972-swiss-army-room.html
Redirect 301 /2011/04/monsters-and-princesses.html$ http://www.example.com/9366-monsters-and-princesses.html
Redirect 301 /2011/03/giant-spring-greeting-card.html$ http://www.example.com/963-a-giant-spring-greeting-card.html
</IfModule>
Going to the old oldexample.com redirects to www.example.com, as I wanted, the individual links give this error:
Not Found
The requested URL /2011/04/monsters-and-princesses.html was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Can you please let me know what I am doing wrong? I have been trying to figure it out for half a day without success. Thanks in advance.