[removed] in .htaccess causes 500 server error (Redirect to non-URL)

后端 未结 4 564
孤独总比滥情好
孤独总比滥情好 2021-01-05 04:28

have such kind of error.

When adding Redirect 301 rule to .htaccess file like:

Redirect 301 \"/page1.html\" \"/dir1/\"
         


        
4条回答
  •  死守一世寂寞
    2021-01-05 04:42

    Changed all Redirect 301 rules to:

    RewriteRule ^/page1.html$ /dir1/page.html [R=301,L]
    

    now working. But how does it work on production?

提交回复
热议问题