301永久重定向出现“找不到页面”错误


Page Not Found error with 301 Permanent Redirect

我的.htaccess文件有以下代码:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index'.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
# Redirect Old Page to New Page
Redirect 301 /2012/03/18/ajax-based-instant-image-upload.html http://domainname.com/blog/jquery/ajax-based-instant-image-upload/
Header unset ETag  
FileETag None
<filesMatch "'.(jpg|jpeg|png|gif|swf)$">
Header set Cache-Control "max-age=2592000, private"
Header set Expires "Sun, 23 October 2011 20:00:00 GMT"
</filesMatch>
<filesMatch "'.(css|css.gz)$">
Header set Cache-Control "max-age=604800, private"
</filesMatch>
<filesMatch "'.(js|js.gz)$">
Header set Cache-Control "max-age=604800, private"
</filesMatch>
<filesMatch "'.(xml|txt)$">
Header set Cache-Control "max-age=216000, private, must-revalidate"
</filesMatch>
<filesMatch "'.(html|htm)$">
Header set Cache-Control "max-age=7200, private, must-revalidate"
</filesMatch>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript

但当我通过谷歌搜索到这篇文章时,我得到了PAGE NOT FOUND错误。我在本地主机的工作文件中测试了这段代码,但没有在真正的服务器上测试。有人能告诉我确切的问题在哪里吗??

将博客添加到旧URL:

Redirect 301 /blog/2012/03/18/ajax-based-instant-image-upload.html http://webomnizz.com/blog/jquery