Home > Backend Development > PHP Tutorial > 这个RewriteRule要如何写,初学者急用,求帮助

这个RewriteRule要如何写,初学者急用,求帮助

WBOY
Release: 2016-06-13 13:29:33
Original
756 people have browsed it

这个RewriteRule要怎么写,菜鸟急用,求帮助
怎么把 /t.php?t=www.baidu.com 重写成 /www.baidu.com 求帮助 第一次提问,希望大家帮助啊

------解决方案--------------------
RewriteEngine On
RewriteBase /
RewriteRule ^t.php?t=(.*) $1 [L]

Related labels:
com
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