如何写下面的URL改写规则链接。使用php mysql的htaccess中的url重写规则
原始网址匹配网页:
http://www.cricmelive.tv/live/09876/barisal_bulls_vs_chittagong_vikings_t20
现在需要的网址:
http://www.cricmelive.tv/live/09876/barisal_bulls_vs_chittagong_vikings_t20
2.通道Catgry原始地址:
http://www.cricmelive.tv/live/category.php?id=1
现在需要的网址为:
http://www.cricmelive.tv/live/sports
3.原始网址体育Catgry:
http://www.cricmelive.tv/live/index.php?catid=1
现在需要的网址为:
http://www.cricmelive.tv/live/cricket
4.一部开拓创新的网址频道页面:
http://www.cricmelive.tv/live/channel-page.php?cid=45
否W需要为:
http://www.cricmelive.tv/live/espn-3-live-streaming
我是新的你的重写。我再次发布它。帮帮我,怎么写重写url代码再次原始url
前两个链路的例子是相等的(号码1)。 – Progrock
数字2,3和4是不明确的。它们具有相同的模式。所以重写规则会匹配所有的。你如何确定差异? – Progrock
如何将它重写为'http:// localhost/live/index。'如何将它重写为'http:// localhost/live/cricket' – SAJ