Configuring .htaccess entry

This question is an exact duplicate of:

  • What is wrong with my entry? [closed] 2 answers
  • What wrong with my Entry? [duplicate]

  • allow from all RewriteEngine On RewriteCond %{THE_REQUEST} ^[AZ]{3,9} /index.php HTTP/ RewriteRule ^index.php$ http://kursayin.am/ [R=301,L] AddDefaultCharset utf-8

    http://kursayin.am/index.php

    it works for this site


    RewriteEngine On

    RewriteCond %{THE_REQUEST} ^[AZ]{3,9} /index.html HTTP/

    RewriteRule ^index.html$ http://acethehimalaya.com/ [R=301,L]

    :) try this I use such code for my site

    链接地址: http://www.djcxy.com/p/36540.html

    上一篇: Url重写Yii2 Restful api

    下一篇: 配置.htaccess条目