Home > Backend Development > PHP Tutorial > url重定向规则!

url重定向规则!

WBOY
Release: 2016-06-13 13:34:24
Original
759 people have browsed it

url重定向规则求救!!!
/sell_list.php 重定向到 /sell
/sell_list.php?fid=1 重定向到 /sell/list?fid=1
/bencandy.php?fid-55-id-21619-page-1.htm 重定向到 /news/bencandy.php?fid=55&id=21619

求高手帮忙,我自己写了好多次都不对。。

------解决方案--------------------
http://topic.csdn.net/u/20120307/11/5ef7fe43-d894-4d58-b5a9-9f686cd4baba.html
------解决方案--------------------
没看懂楼主的要求
------解决方案--------------------
不明,echo "<script>window.location='index.php'</script>";
------解决方案--------------------
伪静态处理吗?
------解决方案--------------------
服务器代码用header("Location: http://www.sohu.com/?yes=1");

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template