Tips for debugging .htaccess rewrite rules

后端 未结 16 3521
萌比男神i
萌比男神i 2020-11-21 05:17

Many posters have problems debugging their RewriteRule and RewriteCond statements within their .htaccess files. Most of these are using a shar

16条回答
  •  花落未央
    2020-11-21 05:50

    If you're creating redirections, test with curl to avoid browser caching issues. Use -I to fetch http headers only. Use -L to follow all redirections.

提交回复
热议问题