htaccess 301重定向不起作用

我正在尝试将我的旧页面重定向到新页面,但这不起作用。我在.htaccess文件的开头添加了这些\“ redirects \”。当我在底部添加内容时,出现了服务器配置错误。如何使其运作? 在基于Joomla的网站上也可以使用。 当我在Firefox中输入\“ http://www.indiacustomercare.com/toll-free-customer-care-numbers-in-india.html \”时,出现错误:   页面未正确重定向   Firefox已检测到服务器   正在为此重定向请求   以永远不会   完成。
*   This problem can sometimes be caused by disabling or refusing to
     接受             饼干。 这是我在.htaccess开头添加的行
  redirect 301 /toll-free-customer-care-numbers-in-india.html http://www.indiacustomercare.com/toll-free-customer-care-numbers-india
    redirect 301 /vodafone-customer-care.html http://www.indiacustomercare.com/vodafone-customer-care-helpline-numbers
    redirect 301  /airtel-customer-care.html http://www.indiacustomercare.com/airtel-customer-care-contact-helpline-call-center-numbers
    redirect 301 /xmap-1.html   http://www.indiacustomercare.com/sitemap
    redirect 301 /index.html  http://www.indiacustomercare.com/reciprocal-link-exchange-add-your-url
    
已邀请:
这工作了。我在.htaccess的顶部添加了它
RewriteBase / 
RewriteRule ^index.html$ indiacustomercare.com/reciprocal-link-exchange-add-your-url [R=301,L] 
    

要回复问题请先登录注册