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

htaccess重定向如何写

热度:104   发布时间:2016-04-28 23:26:36.0
htaccess重定向怎么写?
我想把 /index.php/article/det/id/(任何数字)
重定向到 /index.php/p/(数字)
该怎么写?

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