当前位置: 代码迷 >> PHP >> htaccess重定向如何写
  详细解决方案

htaccess重定向如何写

热度:465   发布时间:2012-10-17 10:25:47.0
htaccess重定向怎么写?
我想把 /index.php/article/det/id/(任何数字)
重定向到 /index.php/p/(数字)
该怎么写?

------解决方案--------------------
RewriteRule /index.php/p/([0-9]+) /index.php/article/det/id/$1
  相关解决方案